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 java.lang.Object

Version:
$Id: CommandLineUtils.java 518992 2007-03-16 14:54:35Z jdcasey $
Author:
Trygve Laugstøl

Constructor Summary
CommandLineUtils()
           
 
Method Summary
static java.util.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 java.util.Properties getSystemEnvVars(boolean caseSensitive)
                                             throws java.io.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:
java.io.IOException


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