public class TDMSReaderRule extends AbstractRule
| Argument Keyword | Datatype | Default | Description |
|---|---|---|---|
| TdmsInFileName | String | - | The name of the tdms input file, which should be parsed. (mandatory) |
| MomaTdmsParserReferenceName | String | - | The name of the context reference for saving thd TDMSParser object. (mandatory) |
| BtfOutFileName | String | - | The file name for writing the btf data. (mandatory) |
| BtfFlagOutFileName | String | - | The file name for writing the btf file with the flags. (mandatory) |
| Encoding | String | UTF-8 | The encoding for text values. (optional) |
| Timezone | String | UTC | The timezone for conterting date-time data fields. (optional) |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
encoding |
protected java.util.logging.Logger |
messenger |
protected java.io.File |
tdmsFile |
protected java.lang.String |
tdmsInFileName |
protected java.lang.String |
timezone |
loggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
TDMSReaderRule() |
| Modifier and Type | Method and Description |
|---|---|
NameValueUnit[][] |
getValue()
The getValue method, read the attribute values from the diadem header file.
|
void |
init()
Initialization
|
void |
setValue(NameValueUnit[][] nvu)
The setValue, create
|
execute, execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, terminate, toString, toString, toStringaddAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorprotected java.util.logging.Logger messenger
protected java.lang.String tdmsInFileName
protected java.io.File tdmsFile
protected java.lang.String encoding
protected java.lang.String timezone
public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if the initialization fails.public NameValueUnit[][] getValue() throws RuleException
TDMSParserExceptionRuleExceptionRuleIF.setValue(NameValueUnit[][] nvu)public void setValue(NameValueUnit[][] nvu)
nvu - The name value of the rule.