Uses of Interface
dev.sympho.modular_commands.api.command.parameter.parse.AttachmentParserStages.Parser
Packages that use AttachmentParserStages.Parser
Package
Description
Interfaces defining how received arguments are parsed.
-
Uses of AttachmentParserStages.Parser in dev.sympho.modular_commands.api.command.parameter.parse
Subinterfaces of AttachmentParserStages.Parser in dev.sympho.modular_commands.api.command.parameter.parseModifier and TypeInterfaceDescriptioninterfaceAttachmentDataParser<T extends @NonNull Object>Parses received attachment arguments into their actual value.interfaceTextFileParser<T extends @NonNull Object>Parses an argument from an attached text file.Methods in dev.sympho.modular_commands.api.command.parameter.parse with parameters of type AttachmentParserStages.ParserModifier and TypeMethodDescriptionstatic <T extends @NonNull Object>
AttachmentDataParser<T>Parsers.attachment(@org.checkerframework.common.value.qual.IntRange(from=0L) int maxSize, AttachmentParserStages.Parser<T> parser) Creates a parser that uses the given parser to parse the contents received in an attachment, with no validation performed prior to receiving attachment data (other than the size limit).static <T extends @NonNull Object>
AttachmentDataParser<T>Parsers.attachment(@Nullable AttachmentParserStages.Validator validator, AttachmentParserStages.Parser<T> parser) Creates a parser that uses the given parser to parse the contents received in an attachment, with unbounded file size.static <T extends @NonNull Object>
AttachmentDataParser<T>Parsers.attachment(AttachmentParserStages.Validator validator, @org.checkerframework.common.value.qual.IntRange(from=0L) int maxSize, AttachmentParserStages.Parser<T> parser) Creates a parser that uses the given validator and parser to parse the contents received in an attachment.