|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.java.input.ClassFileParser
public class ClassFileParser
This parser takes an input file and generates a ClassModel with it' members and methods
| Constructor Summary | |
|---|---|
ClassFileParser()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFileExtension()
This parser can process class files |
int |
getRanking()
Low ranking so that better implementation can override this basic implementation |
int |
getWorkload()
Retrieve the workload |
void |
init(java.lang.String inputFile)
Initialize the parser with a fully qualified Class name. |
EDBConnectionData |
needsDataBaseInformationForCompleetion()
Indicate if the input file is self contained or if for compleetion of the model information from the second page is needed. |
IGeneratedObject |
parse()
Parse the class into a ClassModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassFileParser()
| Method Detail |
|---|
public java.lang.String getFileExtension()
getFileExtension in interface IInputParserpublic int getRanking()
getRanking in interface IInputParserpublic int getWorkload()
getWorkload in interface IInputParser
public void init(java.lang.String inputFile)
throws java.lang.Exception
init in interface IInputParserinputFile - fully qualified Classname
java.lang.Exceptionpublic IGeneratedObject parse()
parse in interface IInputParserClassModelpublic EDBConnectionData needsDataBaseInformationForCompleetion()
needsDataBaseInformationForCompleetion in interface IInputParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||