Package nbbrd.io.sys
Class SystemProperties
java.lang.Object
nbbrd.io.sys.SystemProperties
https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SystemPropertiesstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable CharacterCharacter that separates components of a file path.Path used to find directories and JAR archives containing class files.@Nullable String@Nullable String@Nullable PathInstallation directory for Java Runtime Environment (JRE)@Nullable Path@Nullable String@Nullable String@Nullable String@Nullable StringJRE vendor name@Nullable URLJRE vendor URL@Nullable StringJRE version number@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringSequence used by operating system to separate lines in text files@Nullable StringOperating system architecture@Nullable StringOperating system name@Nullable StringOperating system version@Nullable CharacterPath separator character used in java.class.path@Nullable PathUser working directory@Nullable PathUser home directory@Nullable StringUser account name
-
Field Details
-
FILE_SEPARATOR
- See Also:
-
JAVA_CLASS_PATH
- See Also:
-
JAVA_CLASS_VERSION
- See Also:
-
JAVA_HOME
- See Also:
-
JAVA_LIBRARY_PATH
- See Also:
-
JAVA_VENDOR
- See Also:
-
JAVA_VENDOR_URL
- See Also:
-
JAVA_VERSION
- See Also:
-
JAVA_IO_TMPDIR
- See Also:
-
JAVA_COMPILER
- See Also:
-
LINE_SEPARATOR
- See Also:
-
OS_ARCH
- See Also:
-
OS_NAME
- See Also:
-
OS_VERSION
- See Also:
-
PATH_SEPARATOR
- See Also:
-
USER_DIR
- See Also:
-
USER_HOME
- See Also:
-
USER_NAME
- See Also:
-
JAVA_VM_SPECIFICATION_VERSION
- See Also:
-
JAVA_VM_SPECIFICATION_VENDOR
- See Also:
-
JAVA_VM_SPECIFICATION_NAME
- See Also:
-
JAVA_VM_VERSION
- See Also:
-
JAVA_VM_VENDOR
- See Also:
-
JAVA_VM_NAME
- See Also:
-
JAVA_SPECIFICATION_VERSION
- See Also:
-
JAVA_SPECIFICATION_VENDOR
- See Also:
-
JAVA_SPECIFICATION_NAME
- See Also:
-
DEFAULT
-
-
Constructor Details
-
SystemProperties
public SystemProperties()
-
-
Method Details
-
getFileSeparator
Character that separates components of a file path. This is "/" on UNIX and "\" on Windows.- Returns:
-
getJavaClassPath
Path used to find directories and JAR archives containing class files. Elements of the class path are separated by a platform-specific character specified in the path separator property.- Returns:
-
getJavaClassVersion
-
getJavaHome
Installation directory for Java Runtime Environment (JRE)- Returns:
-
getJavaLibraryPath
-
getJavaVendor
JRE vendor name- Returns:
-
getJavaVendorUrl
JRE vendor URL- Returns:
-
getJavaVersion
JRE version number- Returns:
-
getJavaIoTmpdir
-
getJavaCompiler
-
getLineSeparator
Sequence used by operating system to separate lines in text files- Returns:
-
getOsArch
Operating system architecture- Returns:
-
getOsName
Operating system name- Returns:
-
getOsVersion
Operating system version- Returns:
-
getPathSeparator
Path separator character used in java.class.path- Returns:
-
getUserDir
User working directory- Returns:
-
getUserHome
User home directory- Returns:
-
getUserName
User account name- Returns:
-
getJavaVmSpecificationVersion
-
getJavaVmSpecificationVendor
-
getJavaVmSpecificationName
-
getJavaVmVersion
-
getJavaVmVendor
-
getJavaVmName
-
getJavaSpecificationVersion
-
getJavaSpecificationVendor
-
getJavaSpecificationName
-