Package org.core.config.parser
Interface Parser<O,T>
- All Known Subinterfaces:
StringMapParser<T>
,StringParser<T>
,StringParser.Suggestible<T>
- All Known Implementing Classes:
MappedParser
,MappedSetParser
,StringToBlockPosition
,StringToBlockTypeParser
,StringToBooleanParser
,StringToComponentGsonParser
,StringToComponentLegacyParser
,StringToDoubleParser
,StringToEnumParser
,StringToExactPosition
,StringToIntegerParser
,StringToItemTypeParser
,StringToMinecraftTimeUnitParser
,StringToStringParser
,StringToTimeParser
,StringToTimeRangeParser
,StringToUniqueIdParser
,StringToVector3Int
,StringToWorldParser
public interface Parser<O,T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic StringToBlockPosition
static StringToBlockTypeParser
static StringToBooleanParser
static StringToComponentGsonParser
static StringToDoubleParser
static StringToExactPosition
static StringToIntegerParser
static StringToItemTypeParser
static StringToIntegerParser
static StringToStringParser
static StringToTimeParser
static StringToTimeRangeParser
static StringToUniqueIdParser
static StringToVector3Int
static StringToWorldParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Enum<E>>
StringToEnumParser<E>getEnumParser(Class<E> clazz)
static <O, T> List<T>
parseList(Parser<? super O,? extends T> parser, Collection<O> collection)
static <O, T> List<O>
unparseList(Parser<? extends O,? super T> parser, Collection<T> collection)
-
Field Details
-
STRING_TO_DOUBLE
-
STRING_TO_BOOLEAN
-
STRING_TO_INTEGER
-
STRING_TO_POSITIVE_INTEGER
-
STRING_TO_BLOCK_TYPE
-
STRING_TO_ITEM_TYPE
-
STRING_TO_WORLD
-
STRING_TO_STRING_PARSER
-
STRING_TO_VECTOR3INT
-
STRING_TO_UNIQUE_ID
-
STRING_TO_MINECRAFT_TIME_UNIT
-
STRING_TO_BLOCK_POSITION
-
STRING_TO_EXACT_POSITION
-
STRING_TO_COMPONENT
-
STRING_TO_TIME
-
STRING_TO_TIME_RANGE
-
-
Method Details
-
getEnumParser
-
parseList
-
unparseList
static <O, T> List<O> unparseList(Parser<? extends O,? super T> parser, Collection<T> collection) -
parse
-
unparse
-