Constructor and Description |
---|
AFMParser()
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
AFMFile |
parse(BufferedReader reader,
String afmFileName)
Parses an AFM file from a BufferedReader.
|
AFMFile |
parse(InputStream in,
String afmFileName)
Parses an AFM file from a stream.
|
public AFMFile parse(InputStream in, String afmFileName) throws IOException
in
- the stream to read fromafmFileName
- the name of the AFM fileIOException
- if an I/O error occurspublic AFMFile parse(BufferedReader reader, String afmFileName) throws IOException
reader
- the BufferedReader instance to read fromafmFileName
- the name of the AFM fileIOException
- if an I/O error occursCopyright © 2025 Apache Software Foundation. All rights reserved.