public class AFMParser
extends java.lang.Object
AFMFile
).Constructor and Description |
---|
AFMParser()
Main constructor.
|
public AFMFile parse(java.io.File afmFile) throws java.io.IOException
afmFile
- the AFM filejava.io.IOException
- if an I/O error occurspublic AFMFile parse(java.io.InputStream in) throws java.io.IOException
in
- the stream to read fromjava.io.IOException
- if an I/O error occurspublic AFMFile parse(java.io.BufferedReader reader) throws java.io.IOException
reader
- the BufferedReader instance to read fromjava.io.IOException
- if an I/O error occursCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.