public static interface IArgParser.Stateless<T> extends IArgParser<T>
ICommandArgument
and outputs its type.IArgParser.Stated<T,S>, IArgParser.Stateless<T>
Modifier and Type | Method and Description |
---|---|
T |
parseArg(ICommandArgument arg) |
getTarget
T parseArg(ICommandArgument arg) throws java.lang.Exception
arg
- The argument to parse.java.lang.RuntimeException
- if you want the parsing to fail. The exception will be caught and turned into an
appropriate error.java.lang.Exception