Import API,
File System API and Utilities API as dependencies.FileImporterBuilder.class
as the annotation service parameter for text and XML,
SpigotImportBuilder.class for spigots and
DatabaseImporter.class for databases.FileImporter,
DatabaseImport or SpigotImporter.buildImporter() method.ImporterUI implementation and add the
@ServiceProvider annotation to it.To let your import task be cancelled and its progress watched, implement
LongTask interface. Add LongTask API as dependency to your module first.
See HowTo write an import for more details.