|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--FileParser
FileParser.java Created: Wed Jun 19 09:14:09 2002
| Constructor Summary | |
FileParser()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
java.util.Hashtable |
parseFile(java.io.File f)
|
java.util.Hashtable |
parseFile(java.io.InputStream istream)
The general idea is to parse just enough of the input to decide what structure is being described, then hand off the input stream to a function designed to build that kind of structure. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileParser()
| Method Detail |
public java.util.Hashtable parseFile(java.io.File f)
throws java.io.IOException
java.io.IOException
public java.util.Hashtable parseFile(java.io.InputStream istream)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||