Class StringArgumentResolver<SENDER>
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<SENDER,String>
dev.rollczi.litecommands.argument.resolver.standard.StringArgumentResolver<SENDER>
- All Implemented Interfaces:
Parser<SENDER,,RawInput, String> RawInputParser<SENDER,,String> MultipleArgumentResolver<SENDER,,String> Suggester<SENDER,,String> Rangeable<Argument<String>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ParseResult<String>suggest(Invocation<SENDER> invocation, Argument<String> objectStringArgument, SuggestionContext context) Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver
canParse, canParse, getRange, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.RawInputParser
getInputType
-
Constructor Details
-
StringArgumentResolver
public StringArgumentResolver()
-
-
Method Details
-
parse
protected ParseResult<String> parse(Invocation<SENDER> invocation, Argument<String> context, String argument) - Specified by:
parsein classArgumentResolver<SENDER,String>
-
suggest
public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<String> objectStringArgument, SuggestionContext context)
-