Class CmdLineParser.Arg
java.lang.Object
com.github.rjeschke.txtmark.cmd.CmdLineParser.Arg
- All Implemented Interfaces:
Comparable<CmdLineParser.Arg>
- Enclosing class:
CmdLineParser
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final boolean(package private) final String(package private) final Field(package private) final String(package private) final boolean(package private) final char(package private) final String(package private) final CmdLineParser.Type(package private) final Object(package private) boolean(package private) final boolean(package private) final boolean(package private) final String(package private) final CmdLineParser.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleaninthashCode()booleanbooleanisList()booleanisOk()(package private) ObjectvoidsetCatchAll(List<String> list) voidvoidsetListField(List<String> list) voidprivate ObjecttoObject(String value, CmdLineParser.Type type) toString()
-
Field Details
-
s
-
l
-
id
-
desc
-
itemSep
final char itemSep -
isSwitch
final boolean isSwitch -
required
final boolean required -
catchAll
final boolean catchAll -
printDefault
final boolean printDefault -
type
-
listType
-
present
boolean present -
object
-
field
-
-
Constructor Details
-
Arg
-
-
Method Details
-
getResolvedType
-
isCatchAll
public boolean isCatchAll() -
isList
public boolean isList() -
setCatchAll
- Throws:
IOException
-
setListField
- Throws:
IOException
-
safeFieldGet
Object safeFieldGet() -
toObject
- Throws:
IOException
-
setField
- Throws:
IOException
-
setPresent
public void setPresent() -
isOk
public boolean isOk() -
hashCode
-
equals
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<CmdLineParser.Arg>
-