org.apache.maven.plugin.assembly.utils
Class CommandLineUtils

java.lang.Object
  extended by org.apache.maven.plugin.assembly.utils.CommandLineUtils

public abstract class CommandLineUtils
extends Object

Version:
$Id: CommandLineUtils.java 728546 2008-12-21 22:56:51Z bentmann $
Author:
Trygve Laugstøl

Constructor Summary
CommandLineUtils()
           
 
Method Summary
static Properties getSystemEnvVars(boolean caseSensitive)
          Return the shell environment variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineUtils

public CommandLineUtils()
Method Detail

getSystemEnvVars

public static Properties getSystemEnvVars(boolean caseSensitive)
                                   throws IOException
Return the shell environment variables. If 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


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.