public class MASCII extends java.lang.Object implements PlugableDataParserInterface
| Constructor and Description |
|---|
MASCII() |
| 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 MASCII Format from import command file.
|
SubmatData |
getFile(java.lang.String mode,
java.util.Hashtable constants)
Read an MASCII 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 PlugableDataParserInterfaceicf - 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 PlugableDataParserInterfacemode - "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 PlugableDataParserInterfacenrOfLines - 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