Package org.bitcoinj.base.internal
Class PlatformUtils
- java.lang.Object
-
- org.bitcoinj.base.internal.PlatformUtils
-
public class PlatformUtils extends java.lang.Object
Utilities for determining platform information (OS and runtime)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlatformUtils.OS
static class
PlatformUtils.Runtime
-
Field Summary
Fields Modifier and Type Field Description static PlatformUtils.OS
os
static PlatformUtils.Runtime
runtime
-
Constructor Summary
Constructors Constructor Description PlatformUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isAndroidRuntime()
static boolean
isLinux()
static boolean
isMac()
static boolean
isOpenJDKRuntime()
static boolean
isOracleJavaRuntime()
static boolean
isWindows()
-
-
-
Field Detail
-
runtime
public static PlatformUtils.Runtime runtime
-
os
public static PlatformUtils.OS os
-
-
Method Detail
-
isAndroidRuntime
public static boolean isAndroidRuntime()
-
isOpenJDKRuntime
public static boolean isOpenJDKRuntime()
-
isOracleJavaRuntime
public static boolean isOracleJavaRuntime()
-
isLinux
public static boolean isLinux()
-
isWindows
public static boolean isWindows()
-
isMac
public static boolean isMac()
-
-