Class USBUpdateImporter
java.lang.Object
us.talabrek.ultimateskyblock.imports.update.USBUpdateImporter
- All Implemented Interfaces:
USBImporter
An importer that simply loads all island-infos into memory - activating the built-in yml
file updating.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
USBUpdateImporter
public USBUpdateImporter()
-
-
Method Details
-
getName
Description copied from interface:USBImporter
Identifies the importer.- Specified by:
getName
in interfaceUSBImporter
- Returns:
- The name of the importer
-
init
- Specified by:
init
in interfaceUSBImporter
-
importFile
Description copied from interface:USBImporter
Imports the player into the existing data structure.- Specified by:
importFile
in interfaceUSBImporter
- Parameters:
file
- The file to import.- Returns:
true
iff the import was successful.
-
getFiles
Description copied from interface:USBImporter
Returns the candidates for import.- Specified by:
getFiles
in interfaceUSBImporter
- Returns:
-
completed
public void completed(int success, int failed, int skipped) - Specified by:
completed
in interfaceUSBImporter
-