Uses of Interface
dev.sympho.modular_commands.api.command.parameter.parse.TextFileParser
Packages that use TextFileParser
Package
Description
Interfaces defining how received arguments are parsed.
-
Uses of TextFileParser in dev.sympho.modular_commands.api.command.parameter.parse
Methods in dev.sympho.modular_commands.api.command.parameter.parse that return TextFileParserModifier and TypeMethodDescriptionstatic TextFileParser<String>
Parsers.textFile()
Creates a parser that receives the plain contents of a text file, with unbounded file size.static TextFileParser<String>
Parsers.textFile
(@org.checkerframework.common.value.qual.IntRange(from=0L) int maxSize) Creates a parser that receives the plain contents of a text file.static <T extends @NonNull Object>
TextFileParser<T>Parsers.textFile
(@org.checkerframework.common.value.qual.IntRange(from=0L) int maxSize, ParserFunction<String, T> parser) Creates a parser that uses the given parser to parse the contents received in a text file.static <T extends @NonNull Object>
TextFileParser<T>Parsers.textFile
(ParserFunction<String, T> parser) Creates a parser that uses the given parser to parse the contents received in a text file, with unbounded file size.