Uses of Interface
dev.sympho.modular_commands.api.command.parameter.parse.AttachmentParser
Packages that use AttachmentParser
Package
Description
Interfaces defining how received arguments are parsed.
-
Uses of AttachmentParser in dev.sympho.modular_commands.api.command.parameter.parse
Subinterfaces of AttachmentParser in dev.sympho.modular_commands.api.command.parameter.parseModifier and TypeInterfaceDescriptioninterface
AttachmentDataParser<T extends @NonNull Object>
Parses received attachment arguments into their actual value.interface
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 AttachmentParserModifier and TypeMethodDescriptionstatic AttachmentParser<Attachment>
Parsers.attachment()
Creates a parser that receives raw attachment values.static <T extends @NonNull Object>
AttachmentParser<T>Parsers.attachment
(ParserFunction<Attachment, T> parser) Creates a parser that uses the given function to parse received values.