Interface USBImporter

All Known Implementing Classes:
USBUpdateImporter, UUIDLeaderImporter

public interface USBImporter
Interface for importers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    completed(int success, int failed, int skipped)
     
    Returns the candidates for import.
    Identifies the importer.
    Imports the player into the existing data structure.
    void
    init(uSkyBlock plugin)
     
  • Method Details

    • getName

      String getName()
      Identifies the importer.
      Returns:
      The name of the importer
    • init

      void init(uSkyBlock plugin)
    • importFile

      Boolean importFile(File file)
      Imports the player into the existing data structure.
      Parameters:
      file - The file to import.
      Returns:
      true iff the import was successful.
    • getFiles

      File[] getFiles()
      Returns the candidates for import.
      Returns:
    • completed

      void completed(int success, int failed, int skipped)