Enum OSFamily

java.lang.Object
java.lang.Enum<OSFamily>
dev.webfx.platform.os.OSFamily
All Implemented Interfaces:
Serializable, Comparable<OSFamily>

public enum OSFamily extends Enum<OSFamily>
  • Enum Constant Details

    • WINDOWS

      public static final OSFamily WINDOWS
    • LINUX

      public static final OSFamily LINUX
    • MACOS

      public static final OSFamily MACOS
    • IOS

      public static final OSFamily IOS
    • ANDROID

      public static final OSFamily ANDROID
    • OTHER

      public static final OSFamily OTHER
  • Method Details

    • values

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

      public static OSFamily valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null