org.apache.commons.cli
public class PatternOptionBuilder extends Object
Version: $Revision: 1.2 $
Field Summary | |
---|---|
static Class | CLASS_VALUE Class class |
static Class | DATE_VALUE Date class |
static Class | EXISTING_FILE_VALUE FileInputStream class |
static Class | FILES_VALUE File array class |
static Class | FILE_VALUE File class |
static Class | NUMBER_VALUE Number class |
static Class | OBJECT_VALUE Object class |
static Class | STRING_VALUE String class |
static Class | URL_VALUE URL class |
Method Summary | |
---|---|
static Object | getValueClass(char ch) Retrieve the class that |
static boolean | isValueCode(char ch) Returns whether |
static Options | parsePattern(String pattern) Returns the {@link Options} instance represented by
|
Retrieve the class that ch
represents.
Parameters: ch the specified character
Returns: The class that ch
represents
Returns whether ch
is a value code, i.e.
whether it represents a class in a pattern.
Parameters: ch the specified character
Returns: true if ch
is a value code, otherwise false.
Returns the {@link Options} instance represented by
pattern
.
Parameters: pattern the pattern string
Returns: The {@link Options} instance