|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GrammarReader
This entity is responsable to know how to read a gammar description file. Created on 22/05/2004
Method Summary | |
---|---|
Grammar |
read(java.io.File fileName,
Grammar grammar)
Read a gammar description file from a determined format and returns a Grammar object after the process |
Grammar |
read(java.io.InputStream stream,
Grammar grammar)
Read a gammar description file from a determined format and returns a Grammar object after the process |
Method Detail |
---|
Grammar read(java.io.File fileName, Grammar grammar) throws MalformedGrammarException, java.io.IOException
fileName
- The file where the grammar is described.grammar
- The object grammar that will be filled with the
informations from the file.
MalformedGrammarException
java.io.IOException
Grammar read(java.io.InputStream stream, Grammar grammar) throws MalformedGrammarException, java.io.IOException
stream
- The stream that contains the description of the grammargrammar
- The object grammar that will be filled with the
informations from the file.
MalformedGrammarException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |