public class DefaultProcessingEnvironment extends Object
Modifier and Type | Field and Description |
---|---|
protected Map |
procEnvironment
the environment variables of the process
|
Constructor and Description |
---|
DefaultProcessingEnvironment() |
Modifier and Type | Method and Description |
---|---|
protected Map |
createProcEnvironment()
Find the list of environment variables for this process.
|
protected CommandLine |
getProcEnvCommand()
Determine the OS specific command line to get a list of environment
variables.
|
Map |
getProcEnvironment()
Find the list of environment variables for this process.
|
protected BufferedReader |
runProcEnvCommand()
Start a process to list the environment variables.
|
protected Map procEnvironment
public Map getProcEnvironment() throws IOException
IOException
- obtaining the environment variables failedprotected Map createProcEnvironment() throws IOException
IOException
- the operation failedprotected BufferedReader runProcEnvCommand() throws IOException
IOException
- starting the process failedprotected CommandLine getProcEnvCommand()
Copyright © 2014 The Apache Software Foundation. All rights reserved.