Class UserPrefsManager

java.lang.Object
net.minheur.potoflux.utils.UserPrefsManager

public class UserPrefsManager extends Object
This class is used to store and retrieve user preferences.
  • Constructor Details

    • UserPrefsManager

      public UserPrefsManager()
  • Method Details

    • getTerminalASCII

      public static String getTerminalASCII()
      Getter for the terminal's ASCII
      Returns:
      the terminal's ASCII
    • getStrictUserLang

      public static String getStrictUserLang()
      Getter for the user lang (direct)
      Returns:
      the user lang
    • getUserLang

      public static String getUserLang()
      Getter for the user lang (asking if null)
      Returns:
      the user lang or asks the user for it
    • getTheme

      public static String getTheme()
      Getter for the user's theme
      Returns:
      the user's theme
    • resetUserLang

      public static void resetUserLang()
      Runs the reset for the user lang
    • resetTerminalAscii

      public static void resetTerminalAscii()
      Runs the reset for the terminal's ASCII
    • resetTheme

      public static void resetTheme()
      Runs the reset for the theme