org.apache.fop.fonts.type1

Class PFBParser


public class PFBParser
extends java.lang.Object

This class represents a parser for Adobe Type 1 PFB files.
See Also:
PFBData

Method Summary

PFBData
parsePFB(InputStream in)
Parses a PFB file into a PFBData object.
PFBData
parsePFB(java.io.File pfbFile)
Parses a PFB file into a PFBData object.
PFBData
parsePFB(java.net.URL url)
Parses a PFB file into a PFBData object.

Method Details

parsePFB

public PFBData parsePFB(InputStream in)
            throws IOException
Parses a PFB file into a PFBData object.
Parameters:
in - InputStream to load the PFB file from
Returns:
PFBData memory representation of the font

parsePFB

public PFBData parsePFB(java.io.File pfbFile)
            throws IOException
Parses a PFB file into a PFBData object.
Parameters:
pfbFile - File to load the PFB file from
Returns:
PFBData memory representation of the font

parsePFB

public PFBData parsePFB(java.net.URL url)
            throws IOException
Parses a PFB file into a PFBData object.
Parameters:
url - URL to load the PFB file from
Returns:
PFBData memory representation of the font

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.