public class PSTNodeInputStream extends InputStream
Modifier and Type | Method and Description |
---|---|
Long[] |
getBlockOffsets()
Get the offsets (block positions) used in the array
|
PSTFile |
getPSTFile() |
boolean |
isEncrypted() |
long |
length() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] output)
Read a block from the input stream.
|
int |
read(byte[] output,
int offset,
int length) |
void |
readCompletely(byte[] target)
Read a block from the input stream, ensuring buffer is completely filled.
|
void |
reset() |
void |
seek(long location) |
long |
seekAndReadLong(long location,
int bytes) |
available, close, mark, skip
public boolean isEncrypted()
public long length()
public int read() throws IOException
read
in class InputStream
IOException
public void readCompletely(byte[] target) throws IOException
target
- buffer to fillIOException
public int read(byte[] output) throws IOException
read
in class InputStream
output
- IOException
public int read(byte[] output, int offset, int length) throws IOException
read
in class InputStream
IOException
public void reset()
reset
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public Long[] getBlockOffsets()
public void seek(long location) throws IOException, PSTException
IOException
PSTException
public long seekAndReadLong(long location, int bytes) throws IOException, PSTException
IOException
PSTException
public PSTFile getPSTFile()
Copyright © 2016. All rights reserved.