Skip navigation links
A C D E F G H I L N P R S T U V 

A

AbstractExcelImExporter - Class in eu.wiegandt.nicklas.simpleexcelimexporter
The abstract base for the im- and exporter.
AbstractExcelImExporter() - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
The default constructor.
addDataSetsToProcess(int) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
 
addObserver(ExcelImExportObserver) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Adds an observer for the im- exporter.
addProcessedDataSets(int) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
 
addTableManager(ExcelTableManager) - Static method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Adds a table manager to the list of supported table managers for the im- / exporter.
addTableManager(ExcelTableManager) - Static method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter

C

calculateProgress() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Calculates the progress percentage.

D

DataClass - Interface in eu.wiegandt.nicklas.simpleexcelimexporter.api
A clear interface to mark a class as data class cause the ExcelTable can't used as a type.
DataController<D extends DataClass> - Interface in eu.wiegandt.nicklas.simpleexcelimexporter.api
A interface which describes data controllers.

E

eu.wiegandt.nicklas.simpleexcelimexporter - package eu.wiegandt.nicklas.simpleexcelimexporter
 
eu.wiegandt.nicklas.simpleexcelimexporter.annotations - package eu.wiegandt.nicklas.simpleexcelimexporter.annotations
 
eu.wiegandt.nicklas.simpleexcelimexporter.api - package eu.wiegandt.nicklas.simpleexcelimexporter.api
 
eu.wiegandt.nicklas.simpleexcelimexporter.exceptions - package eu.wiegandt.nicklas.simpleexcelimexporter.exceptions
 
eu.wiegandt.nicklas.simpleexcelimexporter.utils - package eu.wiegandt.nicklas.simpleexcelimexporter.utils
 
ExcelExporter - Class in eu.wiegandt.nicklas.simpleexcelimexporter
A class to export data of annotated data classes to excel.
ExcelExporter() - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelExporter
 
ExcelField - Annotation Type in eu.wiegandt.nicklas.simpleexcelimexporter.annotations
A annotation to mark a field as im-/exportable.
ExcelImExporterError - Class in eu.wiegandt.nicklas.simpleexcelimexporter.exceptions
A class which represents an error while im-/exporting.
ExcelImExporterError(ExcelImExportErrorTypes) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterError
The message template of the type will be used as message.
ExcelImExporterError(ExcelImExportErrorTypes, String) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterError
 
ExcelImExporterException - Exception in eu.wiegandt.nicklas.simpleexcelimexporter.exceptions
A excecption for errors occurred during im-/exporting.
ExcelImExporterException(ExcelImExporterError) - Constructor for exception eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterException
 
ExcelImExporterField - Class in eu.wiegandt.nicklas.simpleexcelimexporter
A POJO class to save the needed informations of a field during im- and export.
ExcelImExporterField(Integer, String, String) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExporterField
 
ExcelImExportErrorTypes - Enum in eu.wiegandt.nicklas.simpleexcelimexporter.exceptions
A enumeration with the possible error types.
ExcelImExporterWarning - Class in eu.wiegandt.nicklas.simpleexcelimexporter.exceptions
A class which represents warnings which give extra informations for the user.
ExcelImExporterWarning(ExcelImExportWarningTypes) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterWarning
The message template of the type will be used as message.
ExcelImExporterWarning(ExcelImExportWarningTypes, String) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterWarning
 
ExcelImExportObserver - Interface in eu.wiegandt.nicklas.simpleexcelimexporter
A observer to receive the errors, warnings and progress updates during the im-/export.
ExcelImExportWarningTypes - Enum in eu.wiegandt.nicklas.simpleexcelimexporter.exceptions
A enumeration whit the possible warning types.
ExcelImporter - Class in eu.wiegandt.nicklas.simpleexcelimexporter
The Excel Importer.
ExcelImporter(String) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter
Deprecated.
ExcelImporter(Path) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter
 
ExcelTable - Annotation Type in eu.wiegandt.nicklas.simpleexcelimexporter.annotations
A annotation to mark a class as a data class for excel im- and export.
ExcelTableManager - Class in eu.wiegandt.nicklas.simpleexcelimexporter
A Class to manage a class which is annotated with ExcelTable.
ExcelTableManager(Class<? extends DataClass>) - Constructor for class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
A constructor which calls some methods to check if the given class is valid for im-/exporting.
Warning: The validation methods will call IllegalStateExceptions if the class is not valid.

The class must accomplish the following conditions:
The class can't be null. The class must be annotated with ExcelTable If a mapping file is listed it must exist. The listed DataController must be able to handle the class. The class must contain a setter method for every importable field (a field with ExcelField.importable() == true). The class must contain a getter method for every exportable field (a field with ExcelField.exportable() == true). The setter methods must look like this:
public void set[FieldName]([Type] ...)

The getter methods must look like this:
public [Type] get[FieldName]
exportToExcel(Collection<String>, String) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelExporter
exportToExcel(Collection<String>, Path) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelExporter
Exports the tables with the given tables names into a excel file to the given path.

F

finishDataSetProcess() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Increases the number of processed data sets by one.
finishSubRun() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Increases the number of finished sub runs by one.

G

generateCleanMappingFile(String, String) - Static method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
generateCleanMappingFile(Path, String) - Static method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
A helper method to generate a mapping file for a table.
The mapping format is: "column name": "field name".
getColumnIndex() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExporterField
 
getColumnName() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExporterField
 
getDataClass() - Method in interface eu.wiegandt.nicklas.simpleexcelimexporter.api.DataController
 
getDataController() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
 
getError() - Method in exception eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterException
 
getExcelField(String) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
Searches for a ExcelField with the given field name.
getExcelFields() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
 
getExcelTableClass() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
 
getExportableExcelFields() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
 
getFieldName() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExporterField
 
getGetterMethodName(Class<? extends DataClass>) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExporterField
Determines the name of the getter method.
getImportableExcelFields() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
 
getImportableRequiredExcelFields() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
 
getLocalFile(String) - Static method in class eu.wiegandt.nicklas.simpleexcelimexporter.utils.LocalFileLoaderUtil
 
getMappingFilePath() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
 
getMessage() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterError
 
getMessage() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterWarning
 
getMessageTemplate() - Method in enum eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExportErrorTypes
 
getMessageTemplate() - Method in enum eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExportWarningTypes
 
getSetterMethodName(Class<? extends DataClass>) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExporterField
Determines the name of the setter method.
getTableName() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter
 
getTableName() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
Determines the table name.
getType() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterError
 
getType() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExporterWarning
 

H

hasImportableField(String) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
Checks if a ExcelField with the given name exists for the dataclass of this manager.
hasMappingFilePath() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelTableManager
Checks if a mapping file path is listed.

I

importExcel() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter
Starts the import.
isMultiTableMode() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter
 

L

loadMapping(String) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
loadMapping(Path) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Loads the mapping from a mapping file.
LocalFileLoaderUtil - Class in eu.wiegandt.nicklas.simpleexcelimexporter.utils
A utility class to load a local file.

N

newError(ExcelImExporterError) - Method in interface eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExportObserver
Will be called if a error occurred during im-/export.
newWarning(ExcelImExporterWarning) - Method in interface eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExportObserver
Will be called if the im-/export has some warning for the user like a column is unknown and will be skipped.

P

postError(ExcelImExporterError) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Posts an error for the observers.
postWarning(ExcelImExporterWarning) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Posts an warning for the observers.
pullData() - Method in interface eu.wiegandt.nicklas.simpleexcelimexporter.api.DataController
 
pushData(D) - Method in interface eu.wiegandt.nicklas.simpleexcelimexporter.api.DataController
 

R

removeObserver(ExcelImExportObserver) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Removes an observer.
removeTableManager(ExcelTableManager) - Static method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Removes a table manager.

S

searchTableManager(String) - Static method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Searches for a table manager for a table with the given table name.
setMultiTableMode(boolean) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter
 
setSubRuns(int) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
 
setTableName(String) - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImporter
 

T

tableManagers - Static variable in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
 

U

updateProgress() - Method in class eu.wiegandt.nicklas.simpleexcelimexporter.AbstractExcelImExporter
Updates the percentage for each observer.
updateProgress(float) - Method in interface eu.wiegandt.nicklas.simpleexcelimexporter.ExcelImExportObserver
Will be called if a new progress is reached.

V

valueOf(String) - Static method in enum eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExportErrorTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExportWarningTypes
Returns the enum constant of this type with the specified name.
values() - Static method in enum eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExportErrorTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum eu.wiegandt.nicklas.simpleexcelimexporter.exceptions.ExcelImExportWarningTypes
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I L N P R S T U V 
Skip navigation links

Copyright © 2019. All rights reserved.