| 
 | Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.util.CommandLineArgumentHelper
CommandLineArgumentHelper
@Deprecated public class CommandLineArgumentHelper
Convenience helper for handling command line arguments.
| Field Summary | |
|---|---|
| protected static String | LINE_FEEDDeprecated See BEA Commerce product offering | 
| static Object | REGULAR_ARGSDeprecated See BEA Commerce product offering | 
| Constructor Summary | |
|---|---|
| CommandLineArgumentHelper()Deprecated See BEA Commerce product offering | |
| Method Summary | |
|---|---|
| protected static CommandLineArgument | getArgument(String aFlag,
            List args)Deprecated See BEA Commerce product offering | 
| protected static String | getUsageText(boolean isRequired,
             List arguments)Deprecated See BEA Commerce product offering | 
| protected static boolean | isRequired(String aFlag,
           List args)Deprecated See BEA Commerce product offering | 
| static Map | mapArguments(String[] args,
             List arguments)Deprecated See BEA Commerce product offering | 
| protected static boolean | requiresFlagValue(String aFlag,
                  List args)Deprecated See BEA Commerce product offering | 
| static String | usage(Class aClass,
      List arguments)Deprecated See BEA Commerce product offering | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static final String LINE_FEED
public static final Object REGULAR_ARGS
| Constructor Detail | 
|---|
public CommandLineArgumentHelper()
| Method Detail | 
|---|
public static String usage(Class aClass,
                           List arguments)
aClass - arguments - 
String
protected static String getUsageText(boolean isRequired,
                                     List arguments)
isRequired - arguments - 
String
protected static CommandLineArgument getArgument(String aFlag,
                                                 List args)
aFlag - args - 
CommandLineArgument
protected static boolean requiresFlagValue(String aFlag,
                                           List args)
aFlag - args - 
boolean
protected static boolean isRequired(String aFlag,
                                    List args)
aFlag - args - 
boolean
public static Map mapArguments(String[] args,
                               List arguments)
args - args fromarguments - list of CommandLineArgument(s).
Map the key is the CommandLineArgument, the value is
 a List of values for the CommandLineArgument.| 
 | Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||