|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectup.GrammarReader
public class GrammarReader
A utility class that reads a grammar from a file.
Method Summary | |
---|---|
static Grammar |
read(java.lang.String fileName)
Reads a grammar from the specified file and returns it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Grammar read(java.lang.String fileName) throws java.io.IOException
fileName
- the name of the file that contains the grammar
java.io.IOException
- if an error occurs duing the reading of the specified
file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |