Package org.core.config.parser.parsers
Class StringToEnumParser<E extends Enum<E>>
java.lang.Object
org.core.config.parser.parsers.StringToEnumParser<E>
- All Implemented Interfaces:
Parser<String,E>
,StringParser<E>
,StringParser.Suggestible<E>
public class StringToEnumParser<E extends Enum<E>>
extends Object
implements StringParser.Suggestible<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.config.parser.StringParser
StringParser.Suggestible<T>
-
Field Summary
Fields inherited from interface org.core.config.parser.Parser
STRING_TO_BLOCK_POSITION, STRING_TO_BLOCK_TYPE, STRING_TO_BOOLEAN, STRING_TO_COMPONENT, STRING_TO_DOUBLE, STRING_TO_EXACT_POSITION, STRING_TO_INTEGER, STRING_TO_ITEM_TYPE, STRING_TO_MINECRAFT_TIME_UNIT, STRING_TO_POSITIVE_INTEGER, STRING_TO_STRING_PARSER, STRING_TO_TIME, STRING_TO_TIME_RANGE, STRING_TO_UNIQUE_ID, STRING_TO_VECTOR3INT, STRING_TO_WORLD
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.core.config.parser.StringParser.Suggestible
getStringSuggestions, getStringSuggestions
-
Constructor Details
-
StringToEnumParser
-
-
Method Details
-
parse
-
unparse
-
getSuggestions
- Specified by:
getSuggestions
in interfaceStringParser.Suggestible<E extends Enum<E>>
-
getSuggestions
- Specified by:
getSuggestions
in interfaceStringParser.Suggestible<E extends Enum<E>>
-