Save This Page
Home » fop-0.95beta-src » org.apache » fop » fonts » type1 » [javadoc | source]
org.apache.fop.fonts.type1
public class: PFMInputStream [javadoc | source]
java.lang.Object
   java.io.InputStream
      java.io.FilterInputStream
         org.apache.fop.fonts.type1.PFMInputStream

All Implemented Interfaces:
    Closeable

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