public enum Architecture extends Enum<Architecture>
Enum Constant and Description |
---|
AARCH64 |
ARM |
ARMEB |
MIPS |
MIPS64 |
MIPSEL |
MIPSEL64 |
POWERPC |
PPC64 |
UNKNOWN |
X86_32 |
X86_64 |
Modifier and Type | Method and Description |
---|---|
static Architecture |
detect() |
static Architecture |
detect(Properties properties)
Detect the host architecture from the given Java properties
|
static Architecture |
fromName(String name) |
String |
toString() |
static Architecture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Architecture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Architecture AARCH64
public static final Architecture ARM
public static final Architecture ARMEB
public static final Architecture MIPS
public static final Architecture MIPS64
public static final Architecture MIPSEL
public static final Architecture MIPSEL64
public static final Architecture POWERPC
public static final Architecture PPC64
public static final Architecture UNKNOWN
public static final Architecture X86_32
public static final Architecture X86_64
public static Architecture[] values()
for (Architecture c : Architecture.values()) System.out.println(c);
public static Architecture valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Architecture detect(Properties properties)
public static Architecture detect()
public static Architecture fromName(String name)
public String toString()
toString
in class Enum<Architecture>