Package dev.rollczi.litecommands.quoted
Class QuotedStringArgumentResolver<SENDER>
java.lang.Object
dev.rollczi.litecommands.quoted.QuotedStringArgumentResolver<SENDER>
- All Implemented Interfaces:
Parser<SENDER,,RawInput, String> RawInputParser<SENDER,,String> ArgumentResolverBase<SENDER,,RawInput, String> MultipleArgumentResolver<SENDER,,String> Suggester<SENDER,,String> Rangeable<Argument<String>>
public class QuotedStringArgumentResolver<SENDER>
extends Object
implements MultipleArgumentResolver<SENDER,String>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQuotedStringArgumentResolver(SuggesterRegistry<SENDER> suggesterRegistry) QuotedStringArgumentResolver(SuggesterRegistry<SENDER> suggesterRegistry, char quote) -
Method Summary
Modifier and TypeMethodDescriptionsuggest(Invocation<SENDER> invocation, Argument<String> argument, SuggestionContext context) Methods 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
-
Field Details
-
KEY
- See Also:
-
QUOTE_ESCAPE
public static final char QUOTE_ESCAPE- See Also:
-
-
Constructor Details
-
QuotedStringArgumentResolver
-
QuotedStringArgumentResolver
-
-
Method Details
-
parse
public ParseResult<String> parse(Invocation<SENDER> invocation, Argument<String> argument, RawInput rawInput) -
suggest
public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<String> argument, SuggestionContext context) -
getRange
-