Modifier and Type | Class and Description |
---|---|
static class |
Platform.Os
Enumerate generic names of operating systems
|
Enum Constant and Description |
---|
Android_ARM5
Android ARM5
|
Android_ARM6
Android ARM6
|
Android_ARM7
Android ARM7
|
Android_ARM8
Android ARM8
|
Android_Other
Android running on unknown platform (could be x86 or mips for example).
|
Android_X86
Android x86
|
iOS_ARM
iOS on ARM
|
iOS_X86
iOS on x86
|
Linux_ARM32
Linux 32-bit ARM
|
Linux_ARM64
Linux 64-bit ARM
|
Linux32
Linux 32-bit Intel
|
Linux64
Linux 64-bit Intel
|
MacOSX_ARM64
Apple Mac OS X 64-bit ARM
|
MacOSX_PPC32
Apple Mac OS X 32 bit PowerPC
|
MacOSX_PPC64
Apple Mac OS X 64 bit PowerPC
|
MacOSX32
Apple Mac OS X 32-bit Intel
|
MacOSX64
Apple Mac OS X 64-bit Intel
|
Windows_ARM32
Microsoft Windows 32-bit ARM
|
Windows_ARM64
Microsoft Windows 64-bit ARM
|
Windows32
Microsoft Windows 32-bit AMD/Intel
|
Windows64
Microsoft Windows 64-bit AMD/Intel
|
Modifier and Type | Method and Description |
---|---|
Platform.Os |
getOs()
Returns the operating system of this platform.
|
boolean |
is64Bit()
Test for a 64-bit address space.
|
static Platform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform Windows32
public static final Platform Windows64
public static final Platform Windows_ARM32
public static final Platform Windows_ARM64
public static final Platform Linux32
public static final Platform Linux64
public static final Platform Linux_ARM32
public static final Platform Linux_ARM64
public static final Platform MacOSX32
public static final Platform MacOSX64
public static final Platform MacOSX_ARM64
public static final Platform MacOSX_PPC32
public static final Platform MacOSX_PPC64
public static final Platform Android_ARM5
public static final Platform Android_ARM6
public static final Platform Android_ARM7
public static final Platform Android_ARM8
public static final Platform Android_X86
public static final Platform iOS_X86
public static final Platform iOS_ARM
public static final Platform Android_Other
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean is64Bit()
public Platform.Os getOs()