| java.lang.Object | |
| ↳ | casmi.util.SystemUtil |
Utility class to access system properties easily.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FILE_SEPARATOR | File separator string of the system. | ||||||||||
| JAVA_CLASS_PATH | Java class paths. | ||||||||||
| JAVA_COMPILER | Java compiler name. | ||||||||||
| JAVA_HOME | Java home directory. | ||||||||||
| JAVA_LIB_PATH | Java library path. | ||||||||||
| JAVA_TMP_PATH | Java temp dir. | ||||||||||
| JAVA_VENDOR | Java vendor name. | ||||||||||
| JAVA_VENDOR_URL | Java vendor URL. | ||||||||||
| JAVA_VERSION | Java version. | ||||||||||
| JVM_NAME | JVM name. | ||||||||||
| JVM_SPEC_NAME | JVM name in specification. | ||||||||||
| JVM_SPEC_VENDOR | JVM vendor name in specification. | ||||||||||
| JVM_SPEC_VERSION | JVM version in specification. | ||||||||||
| JVM_VENDOR | JVM vendor name. | ||||||||||
| JVM_VERSION | JVM version. | ||||||||||
| LINE_SEPARATOR | Line separator string of the system. | ||||||||||
| OS_ARCH | OS architecture (e.g. | ||||||||||
| OS_NAME | OS name (e.g. | ||||||||||
| OS_VERSION | OS version (e.g. | ||||||||||
| PATH_SEPARATOR | Path separator string of the system. | ||||||||||
| USER_DIR | User's working directory. | ||||||||||
| USER_HOME | User's home directory. | ||||||||||
| USER_NAME | User's name. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Launches the default browser to display a URL.
| |||||||||||
Get all property names.
| |||||||||||
Get information of OS environment.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Launches the default browser to display a URL.
| url | The URL to be displayed in the user default browser. |
|---|
| If errors occur | |
| CasmiException |
Get all property names.
Get information of OS environment. Detects OS name (e.g. Mac OS X) and architecture (e.g. x86_64).