ImportAPI
as a dependency.FileFormatImporter.class
as the annotation service parameter for text and XML,
StreamImporter.class
for Streams and
DatabaseImporter.class
for Databases.To let your export task be cancelled and its progress watched, implement
LongTask
interface.
Note that Importers are singleton, it's preferable to always instantiate
an inner class importer when importData()
is called.