public class AfpInputStream extends FilterInputStream
in
Constructor and Description |
---|
AfpInputStream(InputStream in) |
AfpInputStream(InputStream in,
int leadingBytesToIgnorePerSF) |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentOffset()
current position in the input stream
|
byte[] |
getLastReadBuffer()
returns a copy of the last read buffer that
contained the previous structured field.
|
int |
getLeadingLengthBytes() |
SF |
readStructuredField()
Reads a new structured field from the input stream.
|
available, close, mark, markSupported, read, read, read, reset, skip
public AfpInputStream(InputStream in)
public AfpInputStream(InputStream in, int leadingBytesToIgnorePerSF)
public SF readStructuredField() throws IOException
IOException
public long getCurrentOffset()
public byte[] getLastReadBuffer()
public int getLeadingLengthBytes()
Copyright © 2016. All rights reserved.