Class USBUpdateImporter

java.lang.Object
us.talabrek.ultimateskyblock.imports.update.USBUpdateImporter
All Implemented Interfaces:
USBImporter

public class USBUpdateImporter extends Object implements USBImporter
An importer that simply loads all island-infos into memory - activating the built-in yml file updating.
  • Constructor Details

    • USBUpdateImporter

      public USBUpdateImporter()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: USBImporter
      Identifies the importer.
      Specified by:
      getName in interface USBImporter
      Returns:
      The name of the importer
    • init

      public void init(uSkyBlock plugin)
      Specified by:
      init in interface USBImporter
    • importFile

      public Boolean importFile(File file)
      Description copied from interface: USBImporter
      Imports the player into the existing data structure.
      Specified by:
      importFile in interface USBImporter
      Parameters:
      file - The file to import.
      Returns:
      true iff the import was successful.
    • getFiles

      public File[] getFiles()
      Description copied from interface: USBImporter
      Returns the candidates for import.
      Specified by:
      getFiles in interface USBImporter
      Returns:
    • completed

      public void completed(int success, int failed, int skipped)
      Specified by:
      completed in interface USBImporter