public class CSVColumnFromRule extends CSVFromAbstractRule
Modifier and Type | Field and Description |
---|---|
protected int |
headerColumnNo
The number of the header line.
|
protected java.lang.String |
zipEntry
If the CSV file is a zip file, this value defines the entry name in zip.
|
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 |
---|
CSVColumnFromRule() |
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 headerColumnNo
protected java.lang.String zipEntry
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)