org.openspaces.pu.container.support
Class CommandLineParser
java.lang.Object
org.openspaces.pu.container.support.CommandLineParser
public abstract class CommandLineParser
- extends Object
A simple command line parser transforming a list of string arguments into
CommandLineParser.Parameter
arguments. The arguments
are in the form of -param1 arg1 arg2 -parm2 arg1.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineParser
public CommandLineParser()
parse
public static CommandLineParser.Parameter[] parse(String[] args)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
parse
public static CommandLineParser.Parameter[] parse(String[] args,
int length)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright © GigaSpaces.