public class PSTRAFileContent extends PSTFileContent
Modifier and Type | Field and Description |
---|---|
protected java.io.RandomAccessFile |
file |
Constructor and Description |
---|
PSTRAFileContent(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.io.RandomAccessFile |
getFile() |
long |
getFilePointer() |
int |
read() |
int |
read(byte[] target) |
byte |
readByte() |
void |
seek(long index) |
void |
setFile(java.io.RandomAccessFile file) |
readCompletely
public PSTRAFileContent(java.io.File file) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public java.io.RandomAccessFile getFile()
public void setFile(java.io.RandomAccessFile file)
public void seek(long index) throws java.io.IOException
seek
in class PSTFileContent
java.io.IOException
public long getFilePointer() throws java.io.IOException
getFilePointer
in class PSTFileContent
java.io.IOException
public int read() throws java.io.IOException
read
in class PSTFileContent
java.io.IOException
public int read(byte[] target) throws java.io.IOException
read
in class PSTFileContent
java.io.IOException
public byte readByte() throws java.io.IOException
readByte
in class PSTFileContent
java.io.IOException
public void close() throws java.io.IOException
close
in class PSTFileContent
java.io.IOException