public interface SystemConsts
SystemConsts
define values to be used with the underlying runtime
system (e.g. operating system); for example names of environment variables
providing dedicated information about the runtime system.Modifier and Type | Field and Description |
---|---|
static String |
ENV_VAR_USER_HOME
Environment variable holding the user's home folder path.
|
static String |
ENV_VAR_WIN_COMPUTERNAME
The environment variable (on windows) holding the computer's name.
|
static char |
FILE_PATH_DELIMETER
The system's file path delimiter as used by the underlying operating
system.
|
static String |
NAME_LOCALHOST
Whatever local host name:
|
static String |
SYS_PROP_CONSOLE_HEIGHT
Pass as JVM argument via "-Dconsole.height=n" (where n stands for the
number of lines).
|
static String |
SYS_PROP_CONSOLE_WIDTH
Pass as JVM argument via "-Dconsole.width=n" (where n stands for the
number of chars per row).
|
static String |
SYS_PROP_FILE_DELIMETER
The OS specific file separator is retrieved by this system property.
|
static String |
SYS_PROP_JAVA_IO_TMPDIR
The OS specific temp folder path.
|
static String |
SYS_PROP_PID
At least set on Ubuntu Linux:
|
static final String ENV_VAR_USER_HOME
System.getenv(String)
.static final String ENV_VAR_WIN_COMPUTERNAME
System.getenv(String)
.static final String SYS_PROP_FILE_DELIMETER
System.getProperty(String)
.static final String SYS_PROP_JAVA_IO_TMPDIR
System.getProperty(String)
.static final String SYS_PROP_PID
static final String NAME_LOCALHOST
static final char FILE_PATH_DELIMETER
static final String SYS_PROP_CONSOLE_HEIGHT
static final String SYS_PROP_CONSOLE_WIDTH
Copyright © 2016. All rights reserved.