com.agimatec.utility.fileimport
Class LineImporterSpecAutoFields
java.lang.Object
com.agimatec.utility.fileimport.LineImporterSpec
com.agimatec.utility.fileimport.LineImporterSpecAutoFields
- All Implemented Interfaces:
- ImporterSpec
- Direct Known Subclasses:
- LineImporterSpecGroovy
public class LineImporterSpecAutoFields
- extends LineImporterSpec
Description: subclass that gets the field names from the first header line
and contains some common preconfiguration
User: roman.stumm
Date: 28.08.2007
Time: 17:28:52
Copyright: Agimatec GmbH
|
Method Summary |
void |
processHeaderLine(LineImportProcessor processor)
this implementation assumes, that the first line
contains the header line with field names
separated by the same separator as the data lines. |
| Methods inherited from class com.agimatec.utility.fileimport.LineImporterSpec |
createLineReader, createProcessor, getErrorWriter, getFieldName, getFieldNames, getHeaderLineIndex, getHeaderSpec, getLineTokenizerFactory, processRow, setErrorWriter, setFieldNames, setHeaderLineIndex, setHeaderSpec, setLineTokenizerFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineImporterSpecAutoFields
public LineImporterSpecAutoFields()
- this implementation assumes, that the header line
is the first row in the file.
processHeaderLine
public void processHeaderLine(LineImportProcessor processor)
throws ImporterException
- this implementation assumes, that the first line
contains the header line with field names
separated by the same separator as the data lines.
- Overrides:
processHeaderLine in class LineImporterSpec
- Throws:
ImporterException
Copyright © 2008-2011. All Rights Reserved.