public class MASCII2MDF extends java.lang.Object implements PlugableDataParserInterface
| Constructor and Description |
|---|
MASCII2MDF() |
| Modifier and Type | Method and Description |
|---|---|
SubmatData |
getData(int nrOfLines,
java.lang.String mode,
java.lang.String meaName,
java.util.Hashtable constants)
Not implemented here.
|
SubmatData |
getFile(java.lang.String mode,
java.util.Hashtable constants)
Puts the file's information in the constants Table. the method returns a blank
SubMatData Object.
|
void |
init(java.lang.String pathName,
java.lang.String fileName,
java.io.LineNumberReader icf)
Initializes the Parser.
|
java.lang.String |
preprocessFile(java.lang.String mode,
java.lang.String meaGroupName,
ResultDirHandlerInterface resultDirHandler,
java.util.Hashtable constants) |
public 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 SubmatData getFile(java.lang.String mode, java.util.Hashtable constants)
getFile in interface PlugableDataParserInterfacemode - Either "A" for Append or "R" for replace. Append is NOT supported.constants - the Hashtable with all the constantsSubmatData. Clients should not use this object to gather informationpublic void init(java.lang.String pathName,
java.lang.String fileName,
java.io.LineNumberReader icf)
init in interface PlugableDataParserInterfacepathName - The Path to the import directoryfileName - The name of the binary file.icf - The LineNumberReader of the Data Object. Can be ignored in this implementationpublic java.lang.String preprocessFile(java.lang.String mode,
java.lang.String meaGroupName,
ResultDirHandlerInterface resultDirHandler,
java.util.Hashtable constants)
preprocessFile in interface PlugableDataParserInterface