public class AFMParser
extends java.lang.Object
AFMFile).| Constructor and Description |
|---|
AFMParser()
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AFMFile |
parse(java.io.BufferedReader reader,
java.lang.String afmFileName)
Parses an AFM file from a BufferedReader.
|
AFMFile |
parse(java.io.InputStream in,
java.lang.String afmFileName)
Parses an AFM file from a stream.
|
public AFMFile parse(java.io.InputStream in, java.lang.String afmFileName) throws java.io.IOException
in - the stream to read fromafmFileName - the name of the AFM filejava.io.IOException - if an I/O error occurspublic AFMFile parse(java.io.BufferedReader reader, java.lang.String afmFileName) throws java.io.IOException
reader - the BufferedReader instance to read fromafmFileName - the name of the AFM filejava.io.IOException - if an I/O error occursCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.