|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.slurm.gf.GFParser
Class to parse a generic font file.
This parser is based on the gftype program by D. R. Fuchs.
Constructor Summary | |
GFParser(GFFile g,
GFParserCallback c)
Creates a GFParser object that reads commands from the given file and calls various methods on the given GFParserCallback object according to the commands that are encountered. |
Method Summary | |
void |
parse()
Parses the file, calling methods of the callback as it goes. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public GFParser(GFFile g, GFParserCallback c)
g
- the file from which to read commandsc
- the callback functions to execute when encountering commandsGFFile
,
GFParserCallback
Method Detail |
public void parse()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |