public class FileOption extends StringOption
| Modifier and Type | Class and Description |
|---|---|
static class |
FileOption.FileFilter
Implementation of an
StringOption.Filter which filters based
on existence and type of file to which the string refers. |
StringOption.Filterbundle, ILLEGAL_SN_CHARS, locale, MAX_COUNT_LIMIT, MIN_COUNT_LIMIT, values| Constructor and Description |
|---|
FileOption(String shortName,
String longName,
String description,
boolean mandatory,
boolean allowMany) |
FileOption(String shortName,
String longName,
String description,
int minCount,
int maxCount) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getUsageTypeString()
Returns the option type, for display in the usage message.
|
getFilter, getType, parseValue, setFilteraddValue, equals, getDescription, getLongName, getMaxCount, getMinCount, getShortName, getValues, hashCode, isAllowMany, isHidden, isMandatory, requiresValue, setHidden, setMinMaxCounts, toStringpublic FileOption(String shortName, String longName, String description, int minCount, int maxCount)
protected String getUsageTypeString()
OptiongetUsageTypeString in class Option<String>Copyright © 2015. All rights reserved.