|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.args4j.spi.OptionHandler<java.net.URI>
org.kohsuke.args4j.spi.URIOptionHandler
public class URIOptionHandler
URI
OptionHandler
.
Field Summary |
---|
Fields inherited from class org.kohsuke.args4j.spi.OptionHandler |
---|
option, owner, setter |
Constructor Summary | |
---|---|
URIOptionHandler(CmdLineParser parser,
OptionDef option,
Setter<? super java.net.URI> setter)
|
Method Summary | |
---|---|
java.lang.String |
getDefaultMetaVariable()
Gets the default meta variable name used to print the usage screen. |
int |
parseArguments(Parameters params)
Called if the option that this owner recognizes is found. |
Methods inherited from class org.kohsuke.args4j.spi.OptionHandler |
---|
getMetaVariable, getNameAndMeta |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URIOptionHandler(CmdLineParser parser, OptionDef option, Setter<? super java.net.URI> setter)
Method Detail |
---|
public int parseArguments(Parameters params) throws CmdLineException
OptionHandler
parseArguments
in class OptionHandler<java.net.URI>
params
- The rest of the arguments. This method can use this
object to access the arguments of the option if necessary.
The object is valid only during the method call.
CmdLineException
public java.lang.String getDefaultMetaVariable()
OptionHandler
getDefaultMetaVariable
in class OptionHandler<java.net.URI>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |