|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dontdrinkandroot.utils.SystemProperties
public class SystemProperties
Utility class to easily access standard java system properties.
| Constructor Summary | |
|---|---|
protected |
SystemProperties()
Utility class, disabled constructor. |
| Method Summary | |
|---|---|
static java.lang.String |
getFileEncoding()
The character encoding for the default locale. |
static java.lang.String |
getFileEncodingPkg()
The package that contains the converters that handle converting between local encodings and Unicode. |
static java.lang.String |
getFileSeparator()
The platform-dependent file separator (e.g., "/" on UNIX, "\" for Windows). |
static java.lang.String |
getJavaClassPath()
The value of the CLASSPATH environment variable |
static java.lang.String |
getJavaClassVersion()
The version of the Java API. |
static java.lang.String |
getJavaCompiler()
The just-in-time compiler to use, if any. |
static java.lang.String |
getJavaHome()
The directory in which Java is installed. |
static java.lang.String |
getJavaIoTmpdir()
The directory in which java should create temporary files. |
static java.lang.String |
getJavaVendor()
A vendor-specific string. |
static java.lang.String |
getJavaVendorUrl()
A vendor URL. |
static java.lang.String |
getJavaVersion()
The version of the Java interpreter. |
static java.lang.String |
getLineSeparator()
The platform-dependent line separator (e.g., "\n" on UNIX, "\r\n" for Windows). |
static java.lang.String |
getOsArch()
The system architecture. |
static java.lang.String |
getOsName()
The name of the operating system. |
static java.lang.String |
getOsVersion()
The operating system version. |
static java.lang.String |
getPathSeparator()
The platform-dependent path separator (e.g., ":" on UNIX, "," for Windows). |
static java.lang.String |
getUserDir()
The current working directory when the properties were initialized. |
static java.lang.String |
getUserHome()
The home directory of the current user. |
static java.lang.String |
getUserLanguage()
The two-letter language code of the default locale. |
static java.lang.String |
getUserName()
The username of the current user. |
static java.lang.String |
getUserRegion()
The two-letter country code of the default locale. |
static java.lang.String |
getUserTimezone()
The default time zone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SystemProperties()
| Method Detail |
|---|
public static java.lang.String getFileEncoding()
public static java.lang.String getFileEncodingPkg()
public static java.lang.String getFileSeparator()
public static java.lang.String getJavaClassPath()
public static java.lang.String getJavaClassVersion()
public static java.lang.String getJavaCompiler()
public static java.lang.String getJavaHome()
public static java.lang.String getJavaIoTmpdir()
public static java.lang.String getJavaVersion()
public static java.lang.String getJavaVendor()
public static java.lang.String getJavaVendorUrl()
public static java.lang.String getLineSeparator()
public static java.lang.String getOsName()
public static java.lang.String getOsArch()
public static java.lang.String getOsVersion()
public static java.lang.String getPathSeparator()
public static java.lang.String getUserDir()
public static java.lang.String getUserHome()
public static java.lang.String getUserLanguage()
public static java.lang.String getUserName()
public static java.lang.String getUserRegion()
public static java.lang.String getUserTimezone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||