public class CSVZipColumnFromRule extends CSVFromAbstractRule
| Modifier and Type | Field and Description |
|---|---|
protected int |
headerColumnNo
The number of the header column.
|
csvFile, enclosingCharacter, encoding, excludedNames, filename, fromLine, headerLine, headerLineNo, includedNames, messenger, separatorFile, separatorHeaderLine, toLineloggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
CSVZipColumnFromRule() |
| Modifier and Type | Method and Description |
|---|---|
protected NameValueUnit[][] |
getRowLinesWithCheck(java.lang.String[] hdrWords,
java.util.Vector<java.lang.String> dataLines,
int headerRowNo)
Get the lines of the dataset from the row oriented lines from then CSV file.
|
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, terminateexecute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, 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 NameValueUnit[][] getRowLinesWithCheck(java.lang.String[] hdrWords, java.util.Vector<java.lang.String> dataLines, int headerRowNo) throws RuleException
hdrWords - the header words or names of the value.dataLines - the lines with data from the CSV file.headerRowNo - the row number where the header is stored. O means the headers is given in the parameter hdrWords.RuleExceptionpublic NameValueUnit[][] getValue() throws RuleException
RuleExceptionRuleIF.getValue()public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class CSVFromAbstractRuleInitializationFailedException - if the initialization fails.AbstractImplementation.init()public static void main(java.lang.String[] argv)