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, skippublic AfpInputStream(InputStream in)
public AfpInputStream(InputStream in, int leadingBytesToIgnorePerSF)
public SF readStructuredField() throws IOException
IOExceptionpublic long getCurrentOffset()
public byte[] getLastReadBuffer()
public int getLeadingLengthBytes()
Copyright © 2017. All rights reserved.