public abstract class CSVtoValueMatrixAbstract extends AbstractImplementation implements ExecutableIF
| Modifier and Type | Class and Description |
|---|---|
protected class |
CSVtoValueMatrixAbstract.ColumnInfo
Class with info about the column.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
elementName |
protected java.lang.String |
encoding |
protected int |
firstColumn |
protected int |
firstValueLine |
protected boolean |
handleIncompleteLine |
protected java.lang.String |
headerLine |
protected int |
headerLineNr |
protected java.lang.String |
inDateFormat |
protected java.lang.String |
instanceId |
protected int |
lineNo |
protected int |
maxValuesPart |
protected ODSCache |
odsCache |
protected java.lang.String |
outDateFormat |
protected java.lang.String |
separatorFile |
protected java.lang.String |
separatorHeaderLine |
protected java.util.TimeZone |
timezone |
protected java.lang.String |
undefined |
arguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
CSVtoValueMatrixAbstract() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
execute the implementation.
|
void |
init()
The initialize method.
|
protected void |
saveData(ValueMatrix vm,
java.util.HashMap<java.lang.String,CSVtoValueMatrixAbstract.ColumnInfo> data,
int size)
Save the data to the valuematrix
|
void |
terminate()
Nothing to do.
|
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, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorprotected ODSCache odsCache
protected java.lang.String elementName
protected java.lang.String instanceId
protected java.lang.String separatorFile
protected java.lang.String encoding
protected java.lang.String undefined
protected int headerLineNr
protected int firstValueLine
protected int firstColumn
protected java.lang.String inDateFormat
protected java.lang.String outDateFormat
protected java.util.TimeZone timezone
protected boolean handleIncompleteLine
protected int lineNo
protected int maxValuesPart
protected java.lang.String separatorHeaderLine
protected java.lang.String headerLine
public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if the initialization fails.AbstractImplementation.init()protected void saveData(ValueMatrix vm, java.util.HashMap<java.lang.String,CSVtoValueMatrixAbstract.ColumnInfo> data, int size) throws AoException, ExecutableException
vm - The valueMatrix,data - the data to insert.size - the number of values to insert.AoException - any occurring ASAM ODS Exception.ExecutableException - any occurring exception in the implementation.public void execute()
throws ExecutableException
execute in interface ExecutableIFExecutableException - if execution fails.public void terminate()
throws TerminationException
terminate in interface ExecutableIFTerminationException - if termination fails.