Uses of Interface
dev.sympho.modular_commands.api.command.parameter.parse.AttachmentDataParser
Packages that use AttachmentDataParser
Package
Description
Interfaces defining how received arguments are parsed.
-
Uses of AttachmentDataParser in dev.sympho.modular_commands.api.command.parameter.parse
Subinterfaces of AttachmentDataParser in dev.sympho.modular_commands.api.command.parameter.parseModifier and TypeInterfaceDescriptioninterface
TextFileParser<T extends @NonNull Object>
Parses an argument from an attached text file.Methods in dev.sympho.modular_commands.api.command.parameter.parse that return AttachmentDataParserModifier 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
(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, and 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.