Class FileParser

java.lang.Object
  |
  +--FileParser

public class FileParser
extends java.lang.Object

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

FileParser

public FileParser()
Method Detail

parseFile

public java.util.Hashtable parseFile(java.io.File f)
                              throws java.io.IOException
java.io.IOException

parseFile

public java.util.Hashtable parseFile(java.io.InputStream istream)
                              throws java.io.IOException
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. This function eats left parens, while the specialized functions eat the associated right parens before passing back a completed structure.

java.io.IOException

main

public static void main(java.lang.String[] args)