Package | Description |
---|---|
org.ops4j.util.environment |
Modifier and Type | Method and Description |
---|---|
static String |
Environment.getEnvVariable(String name)
Gets the value of a shell environment variable.
|
static Properties |
Environment.getEnvVariables()
Gets all environment variables within a Properties instance where the
key is the environment variable name and value is the value of the
property.
|
static File |
Environment.getSystemDirectory(String applicationname)
Returns the System directory of the application for the logged in user.
|
static String |
Environment.getUserShell()
Gets the user's shell executable.
|
Constructor and Description |
---|
Environment()
Creates a snapshot of the current shell environment variables for a user.
|
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.