| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final String | ARCH
Current platform architecture. |
| public static final String | C_LIBRARY_NAME
Canonical name of this platform's C runtime library. |
| public static final int | |
| public static final int | |
| public static final boolean | HAS_AWT
Whether this platform provides the AWT Component class; also false if running headless. |
| public static final boolean | HAS_BUFFERS
Whether this platform provides NIO Buffers. |
| public static final boolean | HAS_DLL_CALLBACKS
Whether in-DLL callbacks are supported. |
| public static final boolean | HAS_JAWT
Whether this platform supports the JAWT library. |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final String | MATH_LIBRARY_NAME
Canonical name of this platform's math library. |
| public static final int | |
| public static final int | |
| private static final int | |
| public static final String | RESOURCE_PREFIX
Canonical resource prefix for the current platform. |
| public static final boolean | RO_FIELDS
Whether read-only (final) fields within Structures are supported. |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | |
| pack-priv static String | getNativeLibraryResourcePrefix()
Generate a canonical String prefix based on the current OS type/arch/name. |
| pack-priv static String | getNativeLibraryResourcePrefix(int
from osType, String getOSType()from arch, String os.arch System propertyfrom name)os.name System propertyGenerate a canonical String prefix based on the given OS type/arch/name. |
| public static final int | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| pack-priv static boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean |
| AIX | back to summary |
|---|---|
| public static final int AIX | |
| ANDROID | back to summary |
|---|---|
| public static final int ANDROID | |
| ARCH | back to summary |
|---|---|
| public static final String ARCH Current platform architecture. | |
| C_LIBRARY_NAME | back to summary |
|---|---|
| public static final String C_LIBRARY_NAME Canonical name of this platform's C runtime library. | |
| FREEBSD | back to summary |
|---|---|
| public static final int FREEBSD | |
| GNU | back to summary |
|---|---|
| public static final int GNU | |
| HAS_AWT | back to summary |
|---|---|
| public static final boolean HAS_AWT Whether this platform provides the AWT Component class; also false if running headless. | |
| HAS_BUFFERS | back to summary |
|---|---|
| public static final boolean HAS_BUFFERS Whether this platform provides NIO Buffers. | |
| HAS_DLL_CALLBACKS | back to summary |
|---|---|
| public static final boolean HAS_DLL_CALLBACKS Whether in-DLL callbacks are supported. | |
| HAS_JAWT | back to summary |
|---|---|
| public static final boolean HAS_JAWT Whether this platform supports the JAWT library. | |
| KFREEBSD | back to summary |
|---|---|
| public static final int KFREEBSD | |
| LINUX | back to summary |
|---|---|
| public static final int LINUX | |
| MAC | back to summary |
|---|---|
| public static final int MAC | |
| MATH_LIBRARY_NAME | back to summary |
|---|---|
| public static final String MATH_LIBRARY_NAME Canonical name of this platform's math library. | |
| NETBSD | back to summary |
|---|---|
| public static final int NETBSD | |
| OPENBSD | back to summary |
|---|---|
| public static final int OPENBSD | |
| osType | back to summary |
|---|---|
| private static final int osType | |
| RESOURCE_PREFIX | back to summary |
|---|---|
| public static final String RESOURCE_PREFIX Canonical resource prefix for the current platform. This value is used to load bundled native libraries from the class path. | |
| RO_FIELDS | back to summary |
|---|---|
| public static final boolean RO_FIELDS Whether read-only (final) fields within Structures are supported. | |
| SOLARIS | back to summary |
|---|---|
| public static final int SOLARIS | |
| UNSPECIFIED | back to summary |
|---|---|
| public static final int UNSPECIFIED | |
| WINDOWS | back to summary |
|---|---|
| public static final int WINDOWS | |
| WINDOWSCE | back to summary |
|---|---|
| public static final int WINDOWSCE | |
| Platform | back to summary |
|---|---|
| private Platform() | |
| getCanonicalArchitecture | back to summary |
|---|---|
| pack-priv static String getCanonicalArchitecture(String arch, int platform) | |
| getNativeLibraryResourcePrefix | back to summary |
|---|---|
| pack-priv static String getNativeLibraryResourcePrefix() Generate a canonical String prefix based on the current OS type/arch/name. | |
| getNativeLibraryResourcePrefix | back to summary |
|---|---|
| pack-priv static String getNativeLibraryResourcePrefix(int osType, String arch, String name) Generate a canonical String prefix based on the given OS type/arch/name.
| |
| getOSType | back to summary |
|---|---|
| public static final int getOSType() | |
| hasRuntimeExec | back to summary |
|---|---|
| public static final boolean hasRuntimeExec() | |
| is64Bit | back to summary |
|---|---|
| public static final boolean is64Bit() | |
| isAIX | back to summary |
|---|---|
| public static final boolean isAIX() | |
| isAndroid | back to summary |
|---|---|
| public static final boolean isAndroid() | |
| isARM | back to summary |
|---|---|
| public static final boolean isARM() | |
| isFreeBSD | back to summary |
|---|---|
| public static final boolean isFreeBSD() | |
| isGNU | back to summary |
|---|---|
| public static final boolean isGNU() | |
| isIntel | back to summary |
|---|---|
| public static final boolean isIntel() | |
| iskFreeBSD | back to summary |
|---|---|
| public static final boolean iskFreeBSD() | |
| isLinux | back to summary |
|---|---|
| public static final boolean isLinux() | |
| isLoongArch | back to summary |
|---|---|
| public static final boolean isLoongArch() | |
| isMac | back to summary |
|---|---|
| public static final boolean isMac() | |
| isMIPS | back to summary |
|---|---|
| public static final boolean isMIPS() | |
| isNetBSD | back to summary |
|---|---|
| public static final boolean isNetBSD() | |
| isOpenBSD | back to summary |
|---|---|
| public static final boolean isOpenBSD() | |
| isPPC | back to summary |
|---|---|
| public static final boolean isPPC() | |
| isSoftFloat | back to summary |
|---|---|
| pack-priv static boolean isSoftFloat() | |
| isSolaris | back to summary |
|---|---|
| public static final boolean isSolaris() | |
| isSPARC | back to summary |
|---|---|
| public static final boolean isSPARC() | |
| isWindows | back to summary |
|---|---|
| public static final boolean isWindows() Returns true for any windows variant. | |
| isWindowsCE | back to summary |
|---|---|
| public static final boolean isWindowsCE() | |
| isX11 | back to summary |
|---|---|
| public static final boolean isX11() | |