public class PlatformUtil
extends java.lang.Object
| Constructor and Description |
|---|
PlatformUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getConnectionTimeout()
Deprecated.
|
static java.lang.String |
getJavaVersion() |
static java.lang.String |
getProperty(java.lang.String key)
Returns either the non-empty property or environment variable key
|
static boolean |
hasProperty(java.lang.String key)
Returns true if we have a variable
|
static boolean |
isWindows()
Returns true when system platform is Microsoft Windows.
|
public static boolean isWindows()
public static java.lang.String getProperty(java.lang.String key)
public static java.lang.String getJavaVersion()
public static boolean hasProperty(java.lang.String key)
@Deprecated public static int getConnectionTimeout()