cuba.util
Class ArgReader
java.lang.Object
cuba.util.ArgReader
public class ArgReader
- extends java.lang.Object
This class emulates the good old UNIX command line argument reader functions.
- Author:
- Jan Lessner
Constructor Summary |
ArgReader(java.lang.String[] args,
java.lang.String argpattern)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARGEND
public static final char ARGEND
- See Also:
- Constant Field Values
ARGERROR
public static final char ARGERROR
- See Also:
- Constant Field Values
COLON
public static final char COLON
- See Also:
- Constant Field Values
COLON_STRING
public static final java.lang.String COLON_STRING
- See Also:
- Constant Field Values
DASH_STRING
public static final java.lang.String DASH_STRING
- See Also:
- Constant Field Values
ArgReader
public ArgReader(java.lang.String[] args,
java.lang.String argpattern)
getArg
public char getArg()
throws ArgumentException
- Throws:
ArgumentException
getArgValue
public java.lang.String getArgValue()
getPendingArgs
public java.lang.String[] getPendingArgs()