com.agimatec.utility.fileimport
Class LineImporterSpecAutoFields

java.lang.Object
  extended by com.agimatec.utility.fileimport.LineImporterSpec
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.agimatec.utility.fileimport.LineImporterSpec
LineImporterSpec.Header
 
Field Summary
 
Fields inherited from class com.agimatec.utility.fileimport.LineImporterSpec
log
 
Constructor Summary
LineImporterSpecAutoFields()
          this implementation assumes, that the header line is the first row in the file.
 
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
 

Constructor Detail

LineImporterSpecAutoFields

public LineImporterSpecAutoFields()
this implementation assumes, that the header line is the first row in the file.

Method Detail

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.