public class PfbParser extends Object
Constructor and Description |
---|
PfbParser(byte[] bytes)
Create a new object.
|
PfbParser(InputStream in)
Create a new object.
|
PfbParser(String filename)
Create a new object.
|
Modifier and Type | Method and Description |
---|---|
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(String filename) throws IOException
filename
- the file nameIOException
- if an IO-error occurs.public PfbParser(InputStream in) throws IOException
in
- The input.IOException
- if an IO-error occurs.public PfbParser(byte[] bytes) throws IOException
bytes
- The input.IOException
- if an IO-error occurs.public int[] getLengths()
public byte[] getPfbdata()
public InputStream getInputStream()
public int size()
public byte[] getSegment1()
public byte[] getSegment2()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.