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) |
readCompletelypublic PSTRAFileContent(java.io.File file)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic java.io.RandomAccessFile getFile()
public void setFile(java.io.RandomAccessFile file)
public void seek(long index)
throws java.io.IOException
seek in class PSTFileContentjava.io.IOExceptionpublic long getFilePointer()
throws java.io.IOException
getFilePointer in class PSTFileContentjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class PSTFileContentjava.io.IOExceptionpublic int read(byte[] target)
throws java.io.IOException
read in class PSTFileContentjava.io.IOExceptionpublic byte readByte()
throws java.io.IOException
readByte in class PSTFileContentjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in class PSTFileContentjava.io.IOException