| Modifier and Type | Field and Description |
|---|---|
| private static final int | ASCII_MARKER
the ascii marker. |
| private static final int | BINARY_MARKER
the binary marker. |
| private static final int | BUFFER_SIZE
buffersize. |
| private static final int | EOF_MARKER
the EOF marker. |
| private final int[] | lengths
the lengths of the records (ASCII, BINARY, ASCII) |
| private static final Log | |
| private static final int | PFB_HEADER_LENGTH
the pfb header length. |
| private byte[] | pfbdata
the parsed pfb-data. |
| private static final int | START_MARKER
the start marker. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public InputStream | |
| public int[] | |
| public byte[] | |
| public byte[] | |
| public byte[] | |
| private void | |
| private byte[] | |
| public int |
| ASCII_MARKER | back to summary |
|---|---|
| private static final int ASCII_MARKER the ascii marker. | |
| BINARY_MARKER | back to summary |
|---|---|
| private static final int BINARY_MARKER the binary marker. | |
| BUFFER_SIZE | back to summary |
|---|---|
| private static final int BUFFER_SIZE buffersize. | |
| EOF_MARKER | back to summary |
|---|---|
| private static final int EOF_MARKER the EOF marker. | |
| lengths | back to summary |
|---|---|
| private final int[] lengths the lengths of the records (ASCII, BINARY, ASCII) | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| PFB_HEADER_LENGTH | back to summary |
|---|---|
| private static final int PFB_HEADER_LENGTH the pfb header length. (start-marker (1 byte), ascii-/binary-marker (1 byte), size (4 byte)) 3*6 == 18 | |
| pfbdata | back to summary |
|---|---|
| private byte[] pfbdata the parsed pfb-data. | |
| START_MARKER | back to summary |
|---|---|
| private static final int START_MARKER the start marker. | |
| PfbParser | back to summary |
|---|---|
| public PfbParser(final String filename) throws IOException Create a new object.
| |
| PfbParser | back to summary |
|---|---|
| public PfbParser(final InputStream in) throws IOException Create a new object.
| |
| PfbParser | back to summary |
|---|---|
| public PfbParser(final byte[] bytes) throws IOException Create a new object.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() Returns the pfb data as stream.
| |
| getLengths | back to summary |
|---|---|
| public int[] getLengths() Returns the lengths.
| |
| getPfbdata | back to summary |
|---|---|
| public byte[] getPfbdata() Returns the pfbdata.
| |
| getSegment1 | back to summary |
|---|---|
| public byte[] getSegment1() Returns the first segment
| |
| getSegment2 | back to summary |
|---|---|
| public byte[] getSegment2() Returns the second segment
| |
| parsePfb | back to summary |
|---|---|
| private void parsePfb(final byte[] pfb) throws IOException Parse the pfb-array.
| |
| readFully | back to summary |
|---|---|
| private byte[] readFully(final InputStream in) throws IOException Read the pfb input.
| |
| size | back to summary |
|---|---|
| public int size() Returns the size of the pfb-data.
| |