|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ImporterSpec | |
|---|---|
| com.agimatec.utility.fileimport | |
| com.agimatec.utility.fileimport.groovy | |
| Uses of ImporterSpec in com.agimatec.utility.fileimport |
|---|
| Classes in com.agimatec.utility.fileimport that implement ImporterSpec | |
|---|---|
class |
LineImporterSpec
Description: Not thread-safe! |
class |
LineImporterSpecAutoFields
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 |
| Fields in com.agimatec.utility.fileimport declared as ImporterSpec | |
|---|---|
protected ImporterSpec |
Importer.spec
is determines the input format and configuration |
| Methods in com.agimatec.utility.fileimport that return ImporterSpec | |
|---|---|
protected abstract ImporterSpec |
ImporterProcessor.getSpec()
|
protected ImporterSpec |
Importer.getSpec()
|
| Methods in com.agimatec.utility.fileimport with parameters of type ImporterSpec | |
|---|---|
void |
ImportJob.importFromReader(ImporterSpec spec,
String charset)
API - start the import, close all resources afterwards |
void |
ImportJob.importFromStream(ImporterSpec spec)
API - start the import, close all resources afterwards |
void |
ImportJob.importFromURL(ImporterSpec spec)
API - start the import, close all resources afterwards |
protected void |
ImportJob.openURL(ImporterSpec spec)
|
| Constructors in com.agimatec.utility.fileimport with parameters of type ImporterSpec | |
|---|---|
Importer(ImporterSpec spec)
|
|
| Uses of ImporterSpec in com.agimatec.utility.fileimport.groovy |
|---|
| Classes in com.agimatec.utility.fileimport.groovy that implement ImporterSpec | |
|---|---|
class |
LineImporterSpecGroovy
Description: This subclass makes it easy in a groovy script to customize the processing-behavior of the importer example 1: def spec = new LineImporterSpecGroovy({ processor -> println "inside header closure " + processor.headerLine; }, { processor -> println "inside row closure " + processor.rowCount + ": " + processor.currentRow; }); example 2: def spec = new LineImporterSpecGroovy({ processor -> println "inside row closure " + processor.rowCount + ": " + processor.currentRow; }); User: roman.stumm Date: 30.08.2007 Time: 10:57:42 Copyright: Agimatec GmbH |
class |
XmlSlurperSpec
Description: Specify how to use groovy XmlSlurper with provided Closures to handle the import User: roman.stumm Date: 20.11.2007 Time: 15:24:53 Copyright: Agimatec GmbH |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||