public class CSVLineLocalColumnFromRule extends CSVFromAbstractRule
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
flagsAttributeName
The name of the flags attribute
|
protected java.lang.String |
headerAttributeName
The name of the header attribute
|
protected java.lang.String |
undefined
The string for undefined values.
|
protected int |
valueLine
The number of the line where the values starts.
|
protected java.lang.String |
valuesAttributeName
The name of the value attribute
|
protected int |
valueToLine
The number of the line where the values ends, 0 means end of file.
|
csvFile, enclosingCharacter, encoding, excludedNames, filename, fromLine, headerLine, headerLineNo, includedNames, messenger, separatorFile, separatorHeaderLine, toLine
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
CSVLineLocalColumnFromRule() |
Modifier and Type | Method and Description |
---|---|
NameValueUnit[][] |
getValue()
The getValue method, read the attribute values from the CVS file.
|
void |
init()
The init method, get the element name and the reference from the PACReturnWriter from the context.
|
static void |
main(java.lang.String[] argv) |
execute, getDataLines, getHeaderLine, getRowLines, setValue, splitLineWithHandlingEnclosing, terminate
execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toString
addAttributesToNameValueUnitArray, 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, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
protected int valueLine
protected int valueToLine
protected java.lang.String valuesAttributeName
protected java.lang.String flagsAttributeName
protected java.lang.String headerAttributeName
protected java.lang.String undefined
public NameValueUnit[][] getValue() throws RuleException
RuleException
RuleIF.getValue()
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class CSVFromAbstractRule
InitializationFailedException
- if the initialization fails.AbstractImplementation.init()
public static void main(java.lang.String[] argv)