Class FileThread.ReadThread

java.lang.Object
java.lang.Thread
com.bencodez.advancedcore.thread.FileThread.ReadThread
All Implemented Interfaces:
Runnable
Enclosing class:
FileThread

public class FileThread.ReadThread extends Thread
The Class ReadThread.
  • Constructor Details

    • ReadThread

      public ReadThread()
  • Method Details

    • deletePlayerFile

      @Deprecated public void deletePlayerFile(String uuid)
      Deprecated.
      Deletes a player file.
      Parameters:
      uuid - the player UUID
    • getData

      @Deprecated public org.bukkit.configuration.file.FileConfiguration getData(UserData userData, String uuid)
      Deprecated.
      Gets data for a player.
      Parameters:
      userData - the user data
      uuid - the player UUID
      Returns:
      the file configuration
    • getPlayerFile

      @Deprecated public File getPlayerFile(String uuid)
      Deprecated.
      Gets the player file.
      Parameters:
      uuid - the player UUID
      Returns:
      the file
    • hasPlayerFile

      @Deprecated public boolean hasPlayerFile(String uuid)
      Deprecated.
      Checks if a player file exists.
      Parameters:
      uuid - the player UUID
      Returns:
      true if file exists
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • run

      public void run(Runnable run)
      Run.
      Parameters:
      run - the run
    • setData

      @Deprecated public void setData(UserData userData, String uuid, String path, Object value)
      Deprecated.
      Sets data for a player.
      Parameters:
      userData - the user data
      uuid - the player UUID
      path - the data path
      value - the value to set