| Package | Description |
|---|---|
| com.agimatec.utility.fileimport | |
| com.agimatec.utility.fileimport.groovy | |
| com.agimatec.utility.fileimport.spreadsheet |
| Modifier and Type | Class and Description |
|---|---|
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 |
| Modifier and Type | Field and Description |
|---|---|
protected ImporterSpec |
Importer.spec
is determines the input format and configuration
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ImporterSpec |
ImporterProcessor.getSpec() |
protected ImporterSpec |
Importer.getSpec() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
Importer(ImporterSpec spec) |
| Modifier and Type | Class and Description |
|---|---|
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 |
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 |
| Modifier and Type | Class and Description |
|---|---|
class |
ExcelImporterSpec
Description: Convenience ImporterSpec for importing Excel spreadsheets.
|
Copyright © 2008-2016. All Rights Reserved.