Class SystemProperties
- java.lang.Object
 - 
- org.apache.commons.lang3.SystemProperties
 
 
- 
public final class SystemProperties extends java.lang.ObjectAccesses current system property names and values.- Since:
 - 3.13.0
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAWT_TOOLKITThe System property name "awt.toolkit".static java.lang.StringFILE_ENCODINGThe System property name "file.encoding".static java.lang.StringFILE_SEPARATORThe System property name "file.separator".static java.lang.StringJAVA_AWT_FONTSThe System property name "java.awt.fonts".static java.lang.StringJAVA_AWT_GRAPHICSENVThe System property name "java.awt.graphicsenv".static java.lang.StringJAVA_AWT_HEADLESSThe System property name "java.awt.headless".static java.lang.StringJAVA_AWT_PRINTERJOBThe System property name "java.awt.printerjob".static java.lang.StringJAVA_CLASS_PATHThe System property name "java.class.path".static java.lang.StringJAVA_CLASS_VERSIONThe System property name "java.class.version".static java.lang.StringJAVA_COMPILERThe System property name "java.compiler".static java.lang.StringJAVA_ENDORSED_DIRSThe System property name "java.endorsed.dirs".static java.lang.StringJAVA_EXT_DIRSThe System property name "java.ext.dirs".static java.lang.StringJAVA_HOMEThe System property name "java.home".static java.lang.StringJAVA_IO_TMPDIRThe System property name "java.io.tmpdir".static java.lang.StringJAVA_LIBRARY_PATHThe System property name "java.library.path".static java.lang.StringJAVA_LOCALE_PROVIDERSThe System property name "java.locale.providers".static java.lang.StringJAVA_RUNTIME_NAMEThe System property name "java.runtime.name".static java.lang.StringJAVA_RUNTIME_VERSIONThe System property name "java.runtime.version".static java.lang.StringJAVA_SPECIFICATION_NAMEThe System property name "java.specification.name".static java.lang.StringJAVA_SPECIFICATION_VENDORThe System property name "java.specification.vendor".static java.lang.StringJAVA_SPECIFICATION_VERSIONThe System property name "java.specification.version".static java.lang.StringJAVA_UTIL_PREFS_PREFERENCES_FACTORYThe System property name "java.util.prefs.PreferencesFactory".static java.lang.StringJAVA_VENDORThe System property name "java.vendor".static java.lang.StringJAVA_VENDOR_URLThe System property name "java.vendor.url".static java.lang.StringJAVA_VERSIONThe System property name "java.version".static java.lang.StringJAVA_VM_INFOThe System property name "java.vm.info".static java.lang.StringJAVA_VM_NAMEThe System property name "java.vm.name".static java.lang.StringJAVA_VM_SPECIFICATION_NAMEThe System property name "java.vm.specification.name".static java.lang.StringJAVA_VM_SPECIFICATION_VENDORThe System property name "java.vm.specification.vendor".static java.lang.StringJAVA_VM_SPECIFICATION_VERSIONThe System property name "java.vm.specification.version".static java.lang.StringJAVA_VM_VENDORThe System property name "java.vm.vendor".static java.lang.StringJAVA_VM_VERSIONThe System property name "java.vm.version".static java.lang.StringLINE_SEPARATORThe System property name "line.separator".static java.lang.StringOS_ARCHThe System property name "os.arch".static java.lang.StringOS_NAMEThe System property name "os.name".static java.lang.StringOS_VERSIONThe System property name "os.version".static java.lang.StringPATH_SEPARATORThe System property name "path.separator".static java.lang.StringUSER_COUNTRYThe System property name "user.country".static java.lang.StringUSER_DIRThe System property name "user.dir".static java.lang.StringUSER_HOMEThe System property name "user.home".static java.lang.StringUSER_LANGUAGEThe System property name "user.language".static java.lang.StringUSER_NAMEThe System property name "user.name".static java.lang.StringUSER_REGIONThe System property name "user.region".static java.lang.StringUSER_TIMEZONEThe System property name "user.timezone". 
- 
Constructor Summary
Constructors Constructor Description SystemProperties() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetAwtToolkit()Gets the current value from the system properties map.static booleangetBoolean(java.lang.String key, java.util.function.BooleanSupplier defaultIfAbsent)Gets the current value for the property namedkeyas anboolean.static java.lang.StringgetFileEncoding()Gets the current value from the system properties map.static java.lang.StringgetFileSeparator()Gets the current value from the system properties map.static intgetInt(java.lang.String key, java.util.function.IntSupplier defaultIfAbsent)Gets the current value for the property namedkeyas anint.static java.lang.StringgetJavaAwtFonts()Gets the current value from the system properties map.static java.lang.StringgetJavaAwtGraphicsenv()Gets the current value from the system properties map.static java.lang.StringgetJavaAwtHeadless()Gets the current value from the system properties map.static java.lang.StringgetJavaAwtPrinterjob()Gets the current value from the system properties map.static java.lang.StringgetJavaClassPath()Gets the current value from the system properties map.static java.lang.StringgetJavaClassVersion()Gets the current value from the system properties map.static java.lang.StringgetJavaCompiler()Gets the current value from the system properties map.static java.lang.StringgetJavaEndorsedDirs()Gets the current value from the system properties map.static java.lang.StringgetJavaExtDirs()Gets the current value from the system properties map.static java.lang.StringgetJavaHome()Gets the current value from the system properties map.static java.lang.StringgetJavaIoTmpdir()Gets the current value from the system properties map.static java.lang.StringgetJavaLibraryPath()Gets the current value from the system properties map.static java.lang.StringgetJavaLocaleProviders()Gets the current value from the system properties map.static java.lang.StringgetJavaRuntimeName()Gets the current value from the system properties map.static java.lang.StringgetJavaRuntimeVersion()Gets the current value from the system properties map.static java.lang.StringgetJavaSpecificationName()Gets the current value from the system properties map.static java.lang.StringgetJavaSpecificationVendor()Gets the current value from the system properties map.static java.lang.StringgetJavaSpecificationVersion()Gets the current value from the system properties map.static java.lang.StringgetJavaUtilPrefsPreferencesFactory()Gets the current value from the system properties map.static java.lang.StringgetJavaVendor()Gets the current value from the system properties map.static java.lang.StringgetJavaVendorUrl()Gets the current value from the system properties map.static java.lang.StringgetJavaVersion()Gets the current value from the system properties map.static java.lang.StringgetJavaVmInfo()Gets the current value from the system properties map.static java.lang.StringgetJavaVmName()Gets the current value from the system properties map.static java.lang.StringgetJavaVmSpecificationName()Gets the current value from the system properties map.static java.lang.StringgetJavaVmSpecificationVendor()Gets the current value from the system properties map.static java.lang.StringgetJavaVmSpecificationVersion()Gets the current value from the system properties map.static java.lang.StringgetJavaVmVendor()Gets the current value from the system properties map.static java.lang.StringgetJavaVmVersion()Gets the current value from the system properties map.static java.lang.StringgetLineSeparator()Gets the current value from the system properties map.static longgetLong(java.lang.String key, java.util.function.LongSupplier defaultIfAbsent)Gets the current value for the property namedkeyas along.static java.lang.StringgetOsArch()Gets the current value from the system properties map.static java.lang.StringgetOsName()Gets the current value from the system properties map.static java.lang.StringgetOsVersion()Gets the current value from the system properties map.static java.lang.StringgetPathSeparator()Gets the current value from the system properties map.static java.lang.StringgetProperty(java.lang.String property)Gets a System property, defaulting tonullif the property cannot be read.static java.lang.StringgetUserCountry()Gets the current value from the system properties map.static java.lang.StringgetUserDir()Gets the current value from the system properties map.static java.lang.StringgetUserHome()Gets the current value from the system properties map.static java.lang.StringgetUserLanguage()Gets the current value from the system properties map.static java.lang.StringgetUserName()Gets the current value from the system properties map.static java.lang.StringgetUserTimezone()Gets the current value from the system properties map. 
 - 
 
- 
- 
Field Detail
- 
AWT_TOOLKIT
public static final java.lang.String AWT_TOOLKIT
The System property name "awt.toolkit".- See Also:
 - Constant Field Values
 
 
- 
FILE_ENCODING
public static final java.lang.String FILE_ENCODING
The System property name "file.encoding".- See Also:
 - Constant Field Values
 
 
- 
FILE_SEPARATOR
public static final java.lang.String FILE_SEPARATOR
The System property name "file.separator".- See Also:
 - Constant Field Values
 
 
- 
JAVA_AWT_FONTS
public static final java.lang.String JAVA_AWT_FONTS
The System property name "java.awt.fonts".- See Also:
 - Constant Field Values
 
 
- 
JAVA_AWT_GRAPHICSENV
public static final java.lang.String JAVA_AWT_GRAPHICSENV
The System property name "java.awt.graphicsenv".- See Also:
 - Constant Field Values
 
 
- 
JAVA_AWT_HEADLESS
public static final java.lang.String JAVA_AWT_HEADLESS
The System property name "java.awt.headless".- See Also:
 - Constant Field Values
 
 
- 
JAVA_AWT_PRINTERJOB
public static final java.lang.String JAVA_AWT_PRINTERJOB
The System property name "java.awt.printerjob".- See Also:
 - Constant Field Values
 
 
- 
JAVA_CLASS_PATH
public static final java.lang.String JAVA_CLASS_PATH
The System property name "java.class.path".- See Also:
 - Constant Field Values
 
 
- 
JAVA_CLASS_VERSION
public static final java.lang.String JAVA_CLASS_VERSION
The System property name "java.class.version".- See Also:
 - Constant Field Values
 
 
- 
JAVA_COMPILER
public static final java.lang.String JAVA_COMPILER
The System property name "java.compiler".- See Also:
 - Constant Field Values
 
 
- 
JAVA_ENDORSED_DIRS
public static final java.lang.String JAVA_ENDORSED_DIRS
The System property name "java.endorsed.dirs".- See Also:
 - Constant Field Values
 
 
- 
JAVA_EXT_DIRS
public static final java.lang.String JAVA_EXT_DIRS
The System property name "java.ext.dirs".- See Also:
 - Constant Field Values
 
 
- 
JAVA_HOME
public static final java.lang.String JAVA_HOME
The System property name "java.home".- See Also:
 - Constant Field Values
 
 
- 
JAVA_IO_TMPDIR
public static final java.lang.String JAVA_IO_TMPDIR
The System property name "java.io.tmpdir".- See Also:
 - Constant Field Values
 
 
- 
JAVA_LIBRARY_PATH
public static final java.lang.String JAVA_LIBRARY_PATH
The System property name "java.library.path".- See Also:
 - Constant Field Values
 
 
- 
JAVA_LOCALE_PROVIDERS
public static final java.lang.String JAVA_LOCALE_PROVIDERS
The System property name "java.locale.providers".- See Also:
 - Constant Field Values
 
 
- 
JAVA_RUNTIME_NAME
public static final java.lang.String JAVA_RUNTIME_NAME
The System property name "java.runtime.name".- See Also:
 - Constant Field Values
 
 
- 
JAVA_RUNTIME_VERSION
public static final java.lang.String JAVA_RUNTIME_VERSION
The System property name "java.runtime.version".- See Also:
 - Constant Field Values
 
 
- 
JAVA_SPECIFICATION_NAME
public static final java.lang.String JAVA_SPECIFICATION_NAME
The System property name "java.specification.name".- See Also:
 - Constant Field Values
 
 
- 
JAVA_SPECIFICATION_VENDOR
public static final java.lang.String JAVA_SPECIFICATION_VENDOR
The System property name "java.specification.vendor".- See Also:
 - Constant Field Values
 
 
- 
JAVA_SPECIFICATION_VERSION
public static final java.lang.String JAVA_SPECIFICATION_VERSION
The System property name "java.specification.version".- See Also:
 - Constant Field Values
 
 
- 
JAVA_UTIL_PREFS_PREFERENCES_FACTORY
public static final java.lang.String JAVA_UTIL_PREFS_PREFERENCES_FACTORY
The System property name "java.util.prefs.PreferencesFactory".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VENDOR
public static final java.lang.String JAVA_VENDOR
The System property name "java.vendor".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VENDOR_URL
public static final java.lang.String JAVA_VENDOR_URL
The System property name "java.vendor.url".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VERSION
public static final java.lang.String JAVA_VERSION
The System property name "java.version".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VM_INFO
public static final java.lang.String JAVA_VM_INFO
The System property name "java.vm.info".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VM_NAME
public static final java.lang.String JAVA_VM_NAME
The System property name "java.vm.name".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VM_SPECIFICATION_NAME
public static final java.lang.String JAVA_VM_SPECIFICATION_NAME
The System property name "java.vm.specification.name".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VM_SPECIFICATION_VENDOR
public static final java.lang.String JAVA_VM_SPECIFICATION_VENDOR
The System property name "java.vm.specification.vendor".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VM_SPECIFICATION_VERSION
public static final java.lang.String JAVA_VM_SPECIFICATION_VERSION
The System property name "java.vm.specification.version".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VM_VENDOR
public static final java.lang.String JAVA_VM_VENDOR
The System property name "java.vm.vendor".- See Also:
 - Constant Field Values
 
 
- 
JAVA_VM_VERSION
public static final java.lang.String JAVA_VM_VERSION
The System property name "java.vm.version".- See Also:
 - Constant Field Values
 
 
- 
LINE_SEPARATOR
public static final java.lang.String LINE_SEPARATOR
The System property name "line.separator".- See Also:
 - Constant Field Values
 
 
- 
OS_ARCH
public static final java.lang.String OS_ARCH
The System property name "os.arch".- See Also:
 - Constant Field Values
 
 
- 
OS_NAME
public static final java.lang.String OS_NAME
The System property name "os.name".- See Also:
 - Constant Field Values
 
 
- 
OS_VERSION
public static final java.lang.String OS_VERSION
The System property name "os.version".- See Also:
 - Constant Field Values
 
 
- 
PATH_SEPARATOR
public static final java.lang.String PATH_SEPARATOR
The System property name "path.separator".- See Also:
 - Constant Field Values
 
 
- 
USER_COUNTRY
public static final java.lang.String USER_COUNTRY
The System property name "user.country".- See Also:
 - Constant Field Values
 
 
- 
USER_DIR
public static final java.lang.String USER_DIR
The System property name "user.dir".- See Also:
 - Constant Field Values
 
 
- 
USER_HOME
public static final java.lang.String USER_HOME
The System property name "user.home".- See Also:
 - Constant Field Values
 
 
- 
USER_LANGUAGE
public static final java.lang.String USER_LANGUAGE
The System property name "user.language".- See Also:
 - Constant Field Values
 
 
- 
USER_NAME
public static final java.lang.String USER_NAME
The System property name "user.name".- See Also:
 - Constant Field Values
 
 
- 
USER_REGION
public static final java.lang.String USER_REGION
The System property name "user.region".- See Also:
 - Constant Field Values
 
 
- 
USER_TIMEZONE
public static final java.lang.String USER_TIMEZONE
The System property name "user.timezone".- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getAwtToolkit
public static java.lang.String getAwtToolkit()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getBoolean
public static boolean getBoolean(java.lang.String key, java.util.function.BooleanSupplier defaultIfAbsent)Gets the current value for the property namedkeyas anboolean.- Parameters:
 key- The keydefaultIfAbsent- The default value- Returns:
 - an 
booleanor defaultIfAbsent 
 
- 
getFileEncoding
public static java.lang.String getFileEncoding()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getFileSeparator
public static java.lang.String getFileSeparator()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getInt
public static int getInt(java.lang.String key, java.util.function.IntSupplier defaultIfAbsent)Gets the current value for the property namedkeyas anint.- Parameters:
 key- The keydefaultIfAbsent- The default value- Returns:
 - an 
intor defaultIfAbsent 
 
- 
getJavaAwtFonts
public static java.lang.String getJavaAwtFonts()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaAwtGraphicsenv
public static java.lang.String getJavaAwtGraphicsenv()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaAwtHeadless
public static java.lang.String getJavaAwtHeadless()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaAwtPrinterjob
public static java.lang.String getJavaAwtPrinterjob()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaClassPath
public static java.lang.String getJavaClassPath()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaClassVersion
public static java.lang.String getJavaClassVersion()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaCompiler
public static java.lang.String getJavaCompiler()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaEndorsedDirs
public static java.lang.String getJavaEndorsedDirs()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaExtDirs
public static java.lang.String getJavaExtDirs()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaHome
public static java.lang.String getJavaHome()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaIoTmpdir
public static java.lang.String getJavaIoTmpdir()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaLibraryPath
public static java.lang.String getJavaLibraryPath()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaLocaleProviders
public static java.lang.String getJavaLocaleProviders()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.Java 9 and above.
- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaRuntimeName
public static java.lang.String getJavaRuntimeName()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaRuntimeVersion
public static java.lang.String getJavaRuntimeVersion()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaSpecificationName
public static java.lang.String getJavaSpecificationName()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaSpecificationVendor
public static java.lang.String getJavaSpecificationVendor()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaSpecificationVersion
public static java.lang.String getJavaSpecificationVersion()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaUtilPrefsPreferencesFactory
public static java.lang.String getJavaUtilPrefsPreferencesFactory()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVendor
public static java.lang.String getJavaVendor()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVendorUrl
public static java.lang.String getJavaVendorUrl()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVersion
public static java.lang.String getJavaVersion()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVmInfo
public static java.lang.String getJavaVmInfo()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVmName
public static java.lang.String getJavaVmName()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVmSpecificationName
public static java.lang.String getJavaVmSpecificationName()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVmSpecificationVendor
public static java.lang.String getJavaVmSpecificationVendor()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVmSpecificationVersion
public static java.lang.String getJavaVmSpecificationVersion()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVmVendor
public static java.lang.String getJavaVmVendor()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getJavaVmVersion
public static java.lang.String getJavaVmVersion()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getLineSeparator
public static java.lang.String getLineSeparator()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getLong
public static long getLong(java.lang.String key, java.util.function.LongSupplier defaultIfAbsent)Gets the current value for the property namedkeyas along.- Parameters:
 key- The keydefaultIfAbsent- The default value- Returns:
 - a 
longor defaultIfAbsent 
 
- 
getOsArch
public static java.lang.String getOsArch()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getOsName
public static java.lang.String getOsName()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getOsVersion
public static java.lang.String getOsVersion()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getPathSeparator
public static java.lang.String getPathSeparator()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getProperty
public static java.lang.String getProperty(java.lang.String property)
Gets a System property, defaulting tonullif the property cannot be read.If a
SecurityExceptionis caught, the return value isnull.- Parameters:
 property- the system property name- Returns:
 - the system property value or 
nullif a security problem occurs 
 
- 
getUserCountry
public static java.lang.String getUserCountry()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getUserDir
public static java.lang.String getUserDir()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getUserHome
public static java.lang.String getUserHome()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getUserLanguage
public static java.lang.String getUserLanguage()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getUserName
public static java.lang.String getUserName()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
- 
getUserTimezone
public static java.lang.String getUserTimezone()
Gets the current value from the system properties map.Returns
nullif the property cannot be read due to aSecurityException.- Returns:
 - the current value from the system properties map.
 
 
 - 
 
 -