Enum Class LocaleKey

java.lang.Object
java.lang.Enum<LocaleKey>
net.guizhanss.guizhanlib.updater.LocaleKey
All Implemented Interfaces:
Serializable, Comparable<LocaleKey>, Constable

public enum LocaleKey extends Enum<LocaleKey>
All the keys of Localization.
Author:
ybw0014
  • Enum Constant Details

    • CANNOT_FIND_REPO

      public static final LocaleKey CANNOT_FIND_REPO
    • CANNOT_FETCH_INFO

      public static final LocaleKey CANNOT_FETCH_INFO
    • INVALID_VERSION

      public static final LocaleKey INVALID_VERSION
    • INVALID_FILE_VERSION

      public static final LocaleKey INVALID_FILE_VERSION
    • CANNOT_FIND_BUILDS

      public static final LocaleKey CANNOT_FIND_BUILDS
    • CANNOT_CALCULATE_CHECKSUM

      public static final LocaleKey CANNOT_CALCULATE_CHECKSUM
    • UP_TO_DATE

      public static final LocaleKey UP_TO_DATE
    • NEED_UPDATE

      public static final LocaleKey NEED_UPDATE
    • DOWNLOAD_NOTIFICATION

      public static final LocaleKey DOWNLOAD_NOTIFICATION
    • DOWNLOADING

      public static final LocaleKey DOWNLOADING
    • DOWNLOAD_FAIL

      public static final LocaleKey DOWNLOAD_FAIL
    • UPDATE_INFO_0

      public static final LocaleKey UPDATE_INFO_0
    • UPDATE_INFO_1

      public static final LocaleKey UPDATE_INFO_1
    • UPDATE_INFO_2

      public static final LocaleKey UPDATE_INFO_2
  • Method Details

    • values

      public static LocaleKey[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LocaleKey valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null