public final class OperatingSystemUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static Properties | getSystemEnvVars() | 
| static Properties | getSystemEnvVars(boolean caseSensitive)Return the shell environment variables. | 
public static Properties getSystemEnvVars() throws IOException
IOExceptionpublic static Properties getSystemEnvVars(boolean caseSensitive) throws IOException
caseSensitive == true, then envar
 keys will all be upper-case.caseSensitive - Whether environment variable keys should be treated case-sensitively.IOExceptionCopyright © 2001–2016 Codehaus Plexus. All rights reserved.