org.codehaus.plexus.interpolation.os
public final class OperatingSystemUtils extends Object
Version: $Id: OperatingSystemUtils.java 8252 2009-06-05 00:13:00Z igorife $
Method Summary | |
---|---|
static Properties | getSystemEnvVars() |
static Properties | getSystemEnvVars(boolean caseSensitive)
Return the shell environment variables. |
caseSensitive == true
, then envar
keys will all be upper-case.
Parameters: caseSensitive Whether environment variable keys should be treated case-sensitively.
Returns: Properties object of (possibly modified) envar keys mapped to their values.
Throws: IOException