public class TEXT extends java.lang.Object implements PlugableDataParserInterface
Constructor and Description |
---|
TEXT() |
Modifier and Type | Method and Description |
---|---|
SubmatData |
getData(int nrOfLines,
java.lang.String mode,
java.lang.String meaName,
java.util.Hashtable constants)
Get Datalines in TEXT Format from import command file.
|
SubmatData |
getFile(java.lang.String mode,
java.util.Hashtable constants)
Read a Logbook File and return the content as SubmatData Object.
|
void |
init(java.lang.String pathName,
java.lang.String fileName,
java.io.LineNumberReader icf)
Create a Parser Object and store path- and filename.
|
java.lang.String |
preprocessFile(java.lang.String mode,
java.lang.String meaGroupName,
ResultDirHandlerInterface resultDirHandler,
java.util.Hashtable constants) |
public void init(java.lang.String pathName, java.lang.String fileName, java.io.LineNumberReader icf)
init
in interface PlugableDataParserInterface
icf
- import command file objectpathName
- Name of import directoryfileName
- Name of Macao Ascii Filepublic SubmatData getFile(java.lang.String mode, java.util.Hashtable constants)
getFile
in interface PlugableDataParserInterface
mode
- "R" for Replace, "A" for Appendpublic SubmatData getData(int nrOfLines, java.lang.String mode, java.lang.String meaName, java.util.Hashtable constants)
getData
in interface PlugableDataParserInterface
nrOfLines
- Number of lines to readmode
- "A"ppend or "R"eplacemeaName
- Name of Measurement the data belongs topublic java.lang.String preprocessFile(java.lang.String mode, java.lang.String meaGroupName, ResultDirHandlerInterface resultDirHandler, java.util.Hashtable constants)
preprocessFile
in interface PlugableDataParserInterface