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, skippublic boolean isEncrypted()
public long length()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void readCompletely(byte[] target)
throws IOException
target - buffer to fillIOExceptionpublic int read(byte[] output)
throws IOException
read in class InputStreamoutput - IOExceptionpublic int read(byte[] output,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
reset in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic Long[] getBlockOffsets()
public void seek(long location)
throws IOException,
PSTException
IOExceptionPSTExceptionpublic long seekAndReadLong(long location,
int bytes)
throws IOException,
PSTException
IOExceptionPSTExceptionpublic PSTFile getPSTFile()
Copyright © 2016. All rights reserved.