T
- the type this data importer handles.public interface DataImporter<T>
DataSet
annotation to be recognized.Modifier and Type | Method and Description |
---|---|
void |
clear()
This method is called when the backing persistence must be cleared before import.
|
Class<T> |
getImportedClass()
Returns the data class managed by the importer.
|
void |
importData(Stream<T> data)
This method is called when a stream of objects is ready to import.
|
boolean |
isInitialized()
This method is used to determine if a data importer should be automatically initialized with
data.
|
boolean isInitialized()
void clear()
void importData(Stream<T> data)
data
- the object to import.Copyright © 2013-2018–2019 SeedStack. All rights reserved.