Platform initializing and holding
platform information, which are initialized independent
of other classes.
This class is not intended to be exposed in the public namespace
and solely exist to solve initialization interdependencies.
Please use Platform to access the public fields!
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Platform. | |
| public static final String | |
| public static final String | |
| public static final Platform. | |
| pack-priv static final boolean | |
| public static final boolean | JAVA_6
True only if being compatible w/ language level 6, e.g. JRE 1.6. |
| public static final String | |
| public static final boolean | JAVA_SE
True if having |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final VersionNumber | |
| public static final int | |
| public static final String | |
| public static final boolean | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final Platform. | |
| public static final String | |
| public static final VersionNumber | |
| public static final VersionNumber | Version16
Version 1.6. |
| public static final VersionNumber | Version17
Version 1.7. |
| public static final VersionNumber | Version18
Version 1.8. |
| public static final VersionNumber | Version19
Version 1.9. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static final boolean | |
| private static File | |
| private static final String | |
| public static final String | |
| private static final Platform. | |
| private static final boolean | |
| public static void | |
| public static final boolean | |
| private static final File | |
| private static final boolean | |
| private static final ElfHeaderPart1 | |
| private static final ElfHeaderPart2 |
| ABI_TYPE | back to summary |
|---|---|
| public static final Platform. | |
| ARCH | back to summary |
|---|---|
| public static final String ARCH | |
| ARCH_lower | back to summary |
|---|---|
| public static final String ARCH_lower | |
| CPU_ARCH | back to summary |
|---|---|
| public static final Platform. | |
| DEBUG | back to summary |
|---|---|
| pack-priv static final boolean DEBUG | |
| JAVA_6 | back to summary |
|---|---|
| public static final boolean JAVA_6 True only if being compatible w/ language level 6, e.g. JRE 1.6.
Implies Note We claim Android is compatible. | |
| JAVA_RUNTIME_NAME | back to summary |
|---|---|
| public static final String JAVA_RUNTIME_NAME | |
| JAVA_SE | back to summary |
|---|---|
| public static final boolean JAVA_SE True if having | |
| JAVA_VENDOR | back to summary |
|---|---|
| public static final String JAVA_VENDOR | |
| JAVA_VENDOR_URL | back to summary |
|---|---|
| public static final String JAVA_VENDOR_URL | |
| JAVA_VERSION | back to summary |
|---|---|
| public static final String JAVA_VERSION | |
| JAVA_VERSION_NUMBER | back to summary |
|---|---|
| public static final VersionNumber JAVA_VERSION_NUMBER | |
| JAVA_VERSION_UPDATE | back to summary |
|---|---|
| public static final int JAVA_VERSION_UPDATE | |
| JAVA_VM_NAME | back to summary |
|---|---|
| public static final String JAVA_VM_NAME | |
| LITTLE_ENDIAN | back to summary |
|---|---|
| public static final boolean LITTLE_ENDIAN | |
| NEWLINE | back to summary |
|---|---|
| public static final String NEWLINE | |
| OS | back to summary |
|---|---|
| public static final String OS | |
| os_and_arch | back to summary |
|---|---|
| public static final String os_and_arch | |
| OS_lower | back to summary |
|---|---|
| public static final String OS_lower | |
| OS_TYPE | back to summary |
|---|---|
| public static final Platform. | |
| OS_VERSION | back to summary |
|---|---|
| public static final String OS_VERSION | |
| OS_VERSION_NUMBER | back to summary |
|---|---|
| public static final VersionNumber OS_VERSION_NUMBER | |
| Version16 | back to summary |
|---|---|
| public static final VersionNumber Version16 Version 1.6. As a JVM version, it enables certain JVM 1.6 features. | |
| Version17 | back to summary |
|---|---|
| public static final VersionNumber Version17 Version 1.7. As a JVM version, it enables certain JVM 1.7 features. | |
| Version18 | back to summary |
|---|---|
| public static final VersionNumber Version18 Version 1.8. As a JVM version, it enables certain JVM 1.8 features. | |
| Version19 | back to summary |
|---|---|
| public static final VersionNumber Version19 Version 1.9. As a JVM version, it enables certain JVM 1.9 features. | |
| PlatformPropsImpl | back to summary |
|---|---|
| protected PlatformPropsImpl() | |
| checkFileReadAccess | back to summary |
|---|---|
| private static boolean checkFileReadAccess(final File file) | |
| contains | back to summary |
|---|---|
private static final boolean contains(final String data, final String[] search)
| |
| findSysLib | back to summary |
|---|---|
| private static File findSysLib(final String libName) | |
| getJavaRuntimeNameImpl | back to summary |
|---|---|
| private static final String getJavaRuntimeNameImpl() | |
| getOSAndArch | back to summary |
|---|---|
| public static final String getOSAndArch(final Platform. Returns the GlueGen common name for the given
Consult 'gluegen/make/gluegen-cpptasks-base.xml' to complete/sync mapping! An excerpt of supportedos.and.arch strings:
| |
| getOSTypeImpl | back to summary |
|---|---|
| private static final Platform. | |
| initIsJavaSE | back to summary |
|---|---|
| private static final boolean initIsJavaSE() | |
| initSingleton | back to summary |
|---|---|
| public static void initSingleton() kick off static initialization of platform property information | |
| isCompatible | back to summary |
|---|---|
| public static final boolean isCompatible(final Platform. Returns | |
| queryElfFile | back to summary |
|---|---|
| private static final File queryElfFile(final Platform. Returns the For Elf parsing one of the following binaries is used:
Elf ARM Tags are read using | |
| queryIsLittleEndianImpl | back to summary |
|---|---|
| private static final boolean queryIsLittleEndianImpl() | |
| readElfHeaderPart1 | back to summary |
|---|---|
| private static final ElfHeaderPart1 readElfHeaderPart1(final Platform. | |
| readElfHeaderPart2 | back to summary |
|---|---|
| private static final ElfHeaderPart2 readElfHeaderPart2(final ElfHeaderPart1 eh1, final RandomAccessFile in) | |
Platform.OSType#MACOS VersionNumbers.
| Modifier and Type | Field and Description |
|---|---|
| public static final VersionNumber | Lion
OSX Lion, i.e. 10.7.0 |
| public static final VersionNumber | Mavericks
OSX Mavericks, i.e. 10.9.0 |
| public static final VersionNumber | Tiger
OSX Tiger, i.e. 10.4.0 |
| Access | Constructor and Description |
|---|---|
| public |
| Lion | back to summary |
|---|---|
| public static final VersionNumber Lion OSX Lion, i.e. 10.7.0 | |
| Mavericks | back to summary |
|---|---|
| public static final VersionNumber Mavericks OSX Mavericks, i.e. 10.9.0 | |
| Tiger | back to summary |
|---|---|
| public static final VersionNumber Tiger OSX Tiger, i.e. 10.4.0 | |
| OSXVersion | back to summary |
|---|---|
| public OSXVersion() | |