- java.lang.Object
-
- java.lang.Enum<NativeSystem.Family>
-
- com.github.kwhat.jnativehook.NativeSystem.Family
-
- All Implemented Interfaces:
Serializable
,Comparable<NativeSystem.Family>
- Enclosing class:
- NativeSystem
public static enum NativeSystem.Family extends Enum<NativeSystem.Family>
The operating system family enum.- See Also:
NativeSystem
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static NativeSystem.Family
valueOf(String name)
Returns the enum constant of this type with the specified name.static NativeSystem.Family[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FREEBSD
public static final NativeSystem.Family FREEBSD
-
OPENBSD
public static final NativeSystem.Family OPENBSD
-
DARWIN
public static final NativeSystem.Family DARWIN
-
SOLARIS
public static final NativeSystem.Family SOLARIS
-
LINUX
public static final NativeSystem.Family LINUX
-
WINDOWS
public static final NativeSystem.Family WINDOWS
-
UNSUPPORTED
public static final NativeSystem.Family UNSUPPORTED
-
-
Method Detail
-
values
public static NativeSystem.Family[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NativeSystem.Family c : NativeSystem.Family.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NativeSystem.Family 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<NativeSystem.Family>
-
-