Contents
Class StringCodecMapCodec<T, C extends Codec<? extends T>>
java.lang.Object
com.hypixel.hytale.codec.lookup.ACodecMapCodec<String,T,C>
com.hypixel.hytale.codec.lookup.StringCodecMapCodec<T,C>
- All Implemented Interfaces:
Codec<T>, InheritCodec<T>, RawJsonCodec<T>, RawJsonInheritCodec<T>, SchemaConvertable<T>, ValidatableCodec<T>
- Direct Known Subclasses:
AssetCodecMapCodec, BuilderCodecMapCodec, CodecMapCodec
public abstract class StringCodecMapCodec<T, C extends Codec<? extends T>>
extends ACodecMapCodec<String,T,C>
-
Nested Class Summary
Nested classes/interfaces inherited from class ACodecMapCodec
ACodecMapCodec.UnknownIdException -
Field Summary
Fields inherited from interface Codec
BASE64_PATTERN, BOOLEAN, BSON_DOCUMENT, BYTE, BYTE_ARRAY, DOUBLE, DOUBLE_ARRAY, DURATION, DURATION_SECONDS, FLOAT, FLOAT_ARRAY, INSTANT, INT_ARRAY, INTEGER, LOG_LEVEL, LONG, LONG_ARRAY, NULLABLE_BOOLEAN, PATH, SHORT, STRING, STRING_ARRAY, UUID_BINARY, UUID_STRING -
Constructor Summary
ConstructorsConstructorDescriptionStringCodecMapCodec(boolean allowDefault) StringCodecMapCodec(String key, boolean allowDefault) StringCodecMapCodec(String key, boolean allowDefault, boolean encodeDefaultKey) -
Method Summary
Methods inherited from class ACodecMapCodec
decode, decodeAndInherit, decodeAndInherit, decodeAndInheritJson, decodeAndInheritJson, encode, getClassFor, getCodecFor, getCodecFor, getDefaultCodec, getIdFor, getKey, getRegisteredIds, register, toSchema, validate, validateDefaultsMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RawJsonCodec
decodeJsonMethods inherited from interface SchemaConvertable
toSchema
-
Constructor Details
-
StringCodecMapCodec
public StringCodecMapCodec() -
StringCodecMapCodec
public StringCodecMapCodec(boolean allowDefault) -
StringCodecMapCodec
-
StringCodecMapCodec
-
StringCodecMapCodec
-
-
Method Details
-
register
-
remove
-
decodeJson
- Specified by:
decodeJsonin interfaceCodec<T>- Specified by:
decodeJsonin interfaceRawJsonCodec<T>- Overrides:
decodeJsonin classACodecMapCodec<String, T, C extends Codec<? extends T>>- Throws:
IOException
-