Package com.jme3.system
Enum Class Platform
- All Implemented Interfaces:
Serializable
,Comparable<Platform>
,Constable
Enumerate known operating system/architecture pairs.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumerate generic names of operating systemsNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAndroid ARM5Android ARM6Android ARM7Android ARM8Android running on unknown platform (could be x86 or mips for example).Android x86iOS on ARMiOS on x86Linux 32-bit ARMLinux 64-bit ARMLinux 32-bit IntelLinux 64-bit IntelApple Mac OS X 64-bit ARMApple Mac OS X 32 bit PowerPCApple Mac OS X 64 bit PowerPCApple Mac OS X 32-bit IntelApple Mac OS X 64-bit IntelMicrosoft Windows 32-bit ARMMicrosoft Windows 64-bit ARMMicrosoft Windows 32-bit AMD/IntelMicrosoft Windows 64-bit AMD/Intel -
Method Summary
Modifier and TypeMethodDescriptiongetOs()
Returns the operating system of this platform.boolean
is64Bit()
Test for a 64-bit address space.static Platform
Returns the enum constant of this class with the specified name.static Platform[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Windows32
Microsoft Windows 32-bit AMD/Intel -
Windows64
Microsoft Windows 64-bit AMD/Intel -
Windows_ARM32
Microsoft Windows 32-bit ARM -
Windows_ARM64
Microsoft Windows 64-bit ARM -
Linux32
Linux 32-bit Intel -
Linux64
Linux 64-bit Intel -
Linux_ARM32
Linux 32-bit ARM -
Linux_ARM64
Linux 64-bit ARM -
MacOSX32
Apple Mac OS X 32-bit Intel -
MacOSX64
Apple Mac OS X 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 -
Android_ARM5
Android ARM5 -
Android_ARM6
Android ARM6 -
Android_ARM7
Android ARM7 -
Android_ARM8
Android ARM8 -
Android_X86
Android x86 -
iOS_X86
iOS on x86 -
iOS_ARM
iOS on ARM -
Android_Other
Android running on unknown platform (could be x86 or mips for example).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
is64Bit
public boolean is64Bit()Test for a 64-bit address space.- Returns:
- true if 64 bits, otherwise false
-
getOs
Returns the operating system of this platform.- Returns:
- the generic name of the operating system of this platform
-