public class PfbParser
extends java.lang.Object
Constructor | Description |
---|---|
PfbParser(byte[] bytes) |
Create a new object.
|
PfbParser(java.io.InputStream in) |
Create a new object.
|
PfbParser(java.lang.String filename) |
Create a new object.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.InputStream |
getInputStream() |
Returns the pfb data as stream.
|
int[] |
getLengths() |
Returns the lengths.
|
byte[] |
getPfbdata() |
Returns the pfbdata.
|
byte[] |
getSegment1() |
Returns the first segment
|
byte[] |
getSegment2() |
Returns the second segment
|
int |
size() |
Returns the size of the pfb-data.
|
public PfbParser(java.lang.String filename) throws java.io.IOException
filename
- the file namejava.io.IOException
- if an IO-error occurs.public PfbParser(java.io.InputStream in) throws java.io.IOException
in
- The input.java.io.IOException
- if an IO-error occurs.public PfbParser(byte[] bytes) throws java.io.IOException
bytes
- The input.java.io.IOException
- if an IO-error occurs.public int[] getLengths()
public byte[] getPfbdata()
public java.io.InputStream getInputStream()
public int size()
public byte[] getSegment1()
public byte[] getSegment2()
Copyright © 2008–2018. All rights reserved.