|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.type1.AFMParser
public class AFMParser
Parses the contents of a Type 1 AFM font metrics file into an object structure (AFMFile
).
Constructor Summary | |
---|---|
AFMParser()
Main constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AFMParser()
Method Detail |
---|
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 file
java.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 file
java.io.IOException
- if an I/O error occurs
|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |