Enum Class PlatformKey

java.lang.Object
java.lang.Enum<PlatformKey>
pkg.exoad.poprock.core.io.PlatformKey
所有已实现的接口:
Serializable, Comparable<PlatformKey>, Constable

public enum PlatformKey extends Enum<PlatformKey>
Representation for Platform information
作者:
Jack Meng
  • 枚举常量详细资料

    • WINDOWS_11

      public static final PlatformKey WINDOWS_11
    • WINDOWS_10

      public static final PlatformKey WINDOWS_10
    • WINDOWS_8_1

      public static final PlatformKey WINDOWS_8_1
    • WINDOWS_8

      public static final PlatformKey WINDOWS_8
    • WINDOWS_7

      public static final PlatformKey WINDOWS_7
    • WINDOWS_NT

      public static final PlatformKey WINDOWS_NT
    • WINDOWS_SERVER_2008

      public static final PlatformKey WINDOWS_SERVER_2008
    • WINDOWS_SERVER_2008_R2

      public static final PlatformKey WINDOWS_SERVER_2008_R2
    • WINDOWS_SERVER_2012

      public static final PlatformKey WINDOWS_SERVER_2012
    • WINDOWS_SERVER_2012_R2

      public static final PlatformKey WINDOWS_SERVER_2012_R2
    • WINDOWS_SERVER_2016

      public static final PlatformKey WINDOWS_SERVER_2016
    • WINDOWS_SERVER_2019

      public static final PlatformKey WINDOWS_SERVER_2019
    • WINDOWS_SERVER_2022

      public static final PlatformKey WINDOWS_SERVER_2022
    • WINDOWS_UNKNOWN

      public static final PlatformKey WINDOWS_UNKNOWN
    • WINDOWS_VISTA

      public static final PlatformKey WINDOWS_VISTA
    • WINDOWS_XP

      public static final PlatformKey WINDOWS_XP
    • WINDOWS_2003

      public static final PlatformKey WINDOWS_2003
    • WINDOWS_2000

      public static final PlatformKey WINDOWS_2000
    • UNIX

      public static final PlatformKey UNIX
    • MACOS

      public static final PlatformKey MACOS
    • SOLARIS

      public static final PlatformKey SOLARIS
    • UNKNOWN

      public static final PlatformKey UNKNOWN
  • 字段详细资料

    • name

      final String name
    • supported

      final boolean supported
  • 构造器详细资料

    • PlatformKey

      private PlatformKey(String name, boolean supported)
  • 方法详细资料

    • values

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

      public static PlatformKey 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • isSupported

      public boolean isSupported()
    • getName

      public String getName()