APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.util

public final Class StaticProperty

extends Object
Class Inheritance
Imports
java.util.Properties

System Property access for `java.base` module internal use only. Read-only access to System property values initialized during Phase 1 are cached. Setting, clearing, or modifying the value using System#setProperty or System#getProperties() is ignored.

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
public static final String
public static final String
public static final String
private static final String
public static final String
public static final String
public static final String
private static final String
public static final String
public static final String
public static final String
private static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

the file.encoding system property
fileEncoding
()

Returns the file.encoding system property.

private static String
private static String
getProperty(Properties props, String key, String defaultVal)

public static String

Returns:

the java.home system property
javaHome
()

Returns the java.home system property.

public static String

Returns:

the java.io.tmpdir system property
javaIoTmpDir
()

Returns the java.io.tmpdir system property.

public static String

Returns:

the java.library.path system property
javaLibraryPath
()

Returns the java.library.path system property.

public static String

Returns:

the java.properties.date system property
javaPropertiesDate
()

Returns the java.properties.date system property.

public static String

Returns:

the jdk.serialFilter system property
jdkSerialFilter
()

Returns the jdk.serialFilter system property.

public static String

Returns:

the jdk.serialFilterFactory system property
jdkSerialFilterFactory
()

Returns the jdk.serialFilterFactory system property.

public static String

Returns:

the sun.jnu.encoding system property
jnuEncoding
()

Returns the sun.jnu.encoding system property.

public static String

Returns:

the native.encoding system property
nativeEncoding
()

Returns the native.encoding system property.

public static String

Returns:

the os.arch system property
osArch
()

Returns the os.arch system property.

public static String

Returns:

the os.name system property
osName
()

Returns the os.name system property.

public static String

Returns:

the os.version system property
osVersion
()

Returns the os.version system property.

public static String

Returns:

the stderr.encoding system property
stderrEncoding
()

Returns the stderr.encoding system property.

public static String

Returns:

the stdin.encoding system property
stdinEncoding
()

Returns the stdin.encoding system property.

public static String

Returns:

the stdout.encoding system property
stdoutEncoding
()

Returns the stdout.encoding system property.

public static String

Returns:

the sun.boot.library.path system property
sunBootLibraryPath
()

Returns the sun.boot.library.path system property.

public static String

Returns:

the user.dir system property
userDir
()

Returns the user.dir system property.

public static String

Returns:

the user.home system property
userHome
()

Returns the user.home system property.

public static String

Returns:

the user.name system property
userName
()

Returns the user.name system property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FILE_ENCODINGback to summary
private static final String FILE_ENCODING
JAVA_HOMEback to summary
private static final String JAVA_HOME
JAVA_IO_TMPDIRback to summary
private static final String JAVA_IO_TMPDIR
JAVA_LIBRARY_PATHback to summary
private static final String JAVA_LIBRARY_PATH
JAVA_PROPERTIES_DATEback to summary
private static final String JAVA_PROPERTIES_DATE
JDK_SERIAL_FILTERback to summary
private static final String JDK_SERIAL_FILTER
JDK_SERIAL_FILTER_FACTORYback to summary
private static final String JDK_SERIAL_FILTER_FACTORY
NATIVE_ENCODINGback to summary
private static final String NATIVE_ENCODING
OS_ARCHback to summary
private static final String OS_ARCH
OS_NAMEback to summary
private static final String OS_NAME
OS_VERSIONback to summary
private static final String OS_VERSION
STDERR_ENCODINGback to summary
private static final String STDERR_ENCODING
STDIN_ENCODINGback to summary
private static final String STDIN_ENCODING
STDOUT_ENCODINGback to summary
private static final String STDOUT_ENCODING
SUN_BOOT_LIBRARY_PATHback to summary
private static final String SUN_BOOT_LIBRARY_PATH
SUN_JNU_ENCODINGback to summary
private static final String SUN_JNU_ENCODING
USER_COUNTRYback to summary
public static final String USER_COUNTRY
USER_COUNTRY_DISPLAYback to summary
public static final String USER_COUNTRY_DISPLAY
USER_COUNTRY_FORMATback to summary
public static final String USER_COUNTRY_FORMAT
USER_DIRback to summary
private static final String USER_DIR
USER_EXTENSIONSback to summary
public static final String USER_EXTENSIONS
USER_EXTENSIONS_DISPLAYback to summary
public static final String USER_EXTENSIONS_DISPLAY
USER_EXTENSIONS_FORMATback to summary
public static final String USER_EXTENSIONS_FORMAT
USER_HOMEback to summary
private static final String USER_HOME
USER_LANGUAGEback to summary
public static final String USER_LANGUAGE
USER_LANGUAGE_DISPLAYback to summary
public static final String USER_LANGUAGE_DISPLAY
USER_LANGUAGE_FORMATback to summary
public static final String USER_LANGUAGE_FORMAT
USER_NAMEback to summary
private static final String USER_NAME
USER_REGIONback to summary
public static final String USER_REGION
USER_SCRIPTback to summary
public static final String USER_SCRIPT
USER_SCRIPT_DISPLAYback to summary
public static final String USER_SCRIPT_DISPLAY
USER_SCRIPT_FORMATback to summary
public static final String USER_SCRIPT_FORMAT
USER_VARIANTback to summary
public static final String USER_VARIANT
USER_VARIANT_DISPLAYback to summary
public static final String USER_VARIANT_DISPLAY
USER_VARIANT_FORMATback to summary
public static final String USER_VARIANT_FORMAT

Constructor Detail

StaticPropertyback to summary
private StaticProperty()

Method Detail

fileEncodingback to summary
public static String fileEncoding()

Returns the file.encoding system property.

Returns:String

the file.encoding system property

getPropertyback to summary
private static String getProperty(Properties props, String key)
getPropertyback to summary
private static String getProperty(Properties props, String key, String defaultVal)
javaHomeback to summary
public static String javaHome()

Returns the java.home system property.

Returns:String

the java.home system property

javaIoTmpDirback to summary
public static String javaIoTmpDir()

Returns the java.io.tmpdir system property.

Returns:String

the java.io.tmpdir system property

javaLibraryPathback to summary
public static String javaLibraryPath()

Returns the java.library.path system property.

Returns:String

the java.library.path system property

javaPropertiesDateback to summary
public static String javaPropertiesDate()

Returns the java.properties.date system property.

Returns:String

the java.properties.date system property

jdkSerialFilterback to summary
public static String jdkSerialFilter()

Returns the jdk.serialFilter system property.

Returns:String

the jdk.serialFilter system property

jdkSerialFilterFactoryback to summary
public static String jdkSerialFilterFactory()

Returns the jdk.serialFilterFactory system property.

Returns:String

the jdk.serialFilterFactory system property

jnuEncodingback to summary
public static String jnuEncoding()

Returns the sun.jnu.encoding system property.

Returns:String

the sun.jnu.encoding system property

nativeEncodingback to summary
public static String nativeEncoding()

Returns the native.encoding system property.

Returns:String

the native.encoding system property

osArchback to summary
public static String osArch()

Returns the os.arch system property.

Returns:String

the os.arch system property

osNameback to summary
public static String osName()

Returns the os.name system property.

Returns:String

the os.name system property

osVersionback to summary
public static String osVersion()

Returns the os.version system property.

Returns:String

the os.version system property

stderrEncodingback to summary
public static String stderrEncoding()

Returns the stderr.encoding system property.

Returns:String

the stderr.encoding system property

stdinEncodingback to summary
public static String stdinEncoding()

Returns the stdin.encoding system property.

Returns:String

the stdin.encoding system property

stdoutEncodingback to summary
public static String stdoutEncoding()

Returns the stdout.encoding system property.

Returns:String

the stdout.encoding system property

sunBootLibraryPathback to summary
public static String sunBootLibraryPath()

Returns the sun.boot.library.path system property.

Returns:String

the sun.boot.library.path system property

userDirback to summary
public static String userDir()

Returns the user.dir system property.

Returns:String

the user.dir system property

userHomeback to summary
public static String userHome()

Returns the user.home system property.

Returns:String

the user.home system property

userNameback to summary
public static String userName()

Returns the user.name system property.

Returns:String

the user.name system property