|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.apache.fop.fonts.type1.PFMInputStream
public class PFMInputStream
This is a helper class for reading PFM files. It defines functions for extracting specific values out of the stream.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
PFMInputStream(InputStream in)
Constructs a PFMInputStream based on an InputStream representing the PFM file. |
Method Summary | |
---|---|
short |
readByte()
Parses a one byte value out of the stream. |
long |
readInt()
Parses a four byte value out of the stream. |
int |
readShort()
Parses a two byte value out of the stream. |
String |
readString()
Parses a zero-terminated string out of the stream. |
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PFMInputStream(InputStream in)
inStream
- The stream from which to read the PFM file.Method Detail |
---|
public short readByte() throws IOException
IOException
public int readShort() throws IOException
IOException
public long readInt() throws IOException
IOException
public String readString() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |