| Modifier and Type | Field and Description | 
|---|---|
private Class<T> | 
entityClass
The type of the imported entities. 
 | 
| Constructor and Description | 
|---|
JaxbImporter(Class<T> entityClass)  | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
importFile(DataFile file)
Imports the entity from the given file. 
 | 
@ConstructorProperties(value="entityClass") @Generated(value="lombok") public JaxbImporter(Class<T> entityClass)
public T importFile(DataFile file) throws IOException, DataImportException
file - the file that contains the entityIOException - if the file was not accessibleDataImportException - if the file content was invalidCopyright © 2022 fastnate.org. All rights reserved.