org.apache.fop.fonts.type1
Class AFMParser
java.lang.Object
org.apache.fop.fonts.type1.AFMParser
public class AFMParser
extends java.lang.Object
Parses the contents of a Type 1 AFM font metrics file into an object structure (
AFMFile
).
AFMFile | parse(BufferedReader reader) - Parses an AFM file from a BufferedReader.
|
AFMFile | parse(File afmFile) - Parses an AFM file from a local file.
|
AFMFile | parse(InputStream in) - Parses an AFM file from a stream.
|
AFMParser
public AFMParser()
Main constructor.
parse
public AFMFile parse(BufferedReader reader)
throws IOException
Parses an AFM file from a BufferedReader.
reader
- the BufferedReader instance to read from
parse
public AFMFile parse(File afmFile)
throws IOException
Parses an AFM file from a local file.
parse
public AFMFile parse(InputStream in)
throws IOException
Parses an AFM file from a stream.
in
- the stream to read from
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.