|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.java.input.CSVInputFileParser
public class CSVInputFileParser
This input parser can handle a CSV file that defines its values in the first row and its columns are separated by ',', ';' or ' '.
| Constructor Summary | |
|---|---|
CSVInputFileParser()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFileExtension()
This class can parse CSV 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 file that is to be parsed to generate a model |
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 CVS file and determine its values from the first row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVInputFileParser()
| 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 - absolute file path of the input file
java.lang.Exception - Error while initializingpublic IGeneratedObject parse()
DataBaseTable.
All elements of the model are null allowed
parse in interface IInputParserpublic EDBConnectionData needsDataBaseInformationForCompleetion()
needsDataBaseInformationForCompleetion in interface IInputParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||