|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcode.loader.parser.TxtParser
public class TxtParser
Parse and get the txt based module information from the stream provided.
Class Responsibilities :
| Field Summary | |
|---|---|
private java.util.Vector |
allSymbols
|
private boolean |
compiled
|
private java.util.Vector |
imported
|
private java.lang.String |
moduleName
|
private java.lang.String |
source
|
private int |
timestamp
|
| Constructor Summary | |
|---|---|
TxtParser()
|
|
| Method Summary | |
|---|---|
java.util.Vector |
getAllSymbols()
Gets the allSymbols attribute of the ModuleParser object |
java.util.Vector |
getImported()
Gets the imported attribute of the ModuleParser object |
int |
getTimestamp()
Gets the module's timestamp |
void |
initParser(java.io.BufferedReader in)
Initializes the parser for incremental parsing of the file. |
boolean |
isCompiled()
Gets the compiled attribute of the ModuleParser object |
java.lang.String |
moduleName()
Gets the moduleNmae attribute of the ModuleParser object. |
void |
parse(java.io.BufferedReader in)
Parse the source from the BufferedReader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Vector imported
private java.util.Vector allSymbols
private boolean compiled
private int timestamp
private java.lang.String source
private java.lang.String moduleName
| Constructor Detail |
|---|
public TxtParser()
| Method Detail |
|---|
public void parse(java.io.BufferedReader in)
throws ParseException
ModuleParser
parse in interface ModuleParserin - Description of the Parameter
ParseException - Description of the Exceptionpublic java.util.Vector getImported()
ModuleParser
getImported in interface ModuleParserpublic java.util.Vector getAllSymbols()
ModuleParser
getAllSymbols in interface ModuleParserpublic boolean isCompiled()
ModuleParser
isCompiled in interface ModuleParserpublic java.lang.String moduleName()
ModuleParser
moduleName in interface ModuleParserpublic int getTimestamp()
ModuleParser
getTimestamp in interface ModuleParser
public void initParser(java.io.BufferedReader in)
throws ParseException
initParser in interface ModuleParserin - Reader that is prepared to read in the module file's contents.
ParseException - Description Needed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||