EnumIO.ByName<E extends Enum<E>>, EnumIO.ByNumber<E extends Enum<E>>enumClass, genericElementSchema, strategy| Constructor and Description |
|---|
ByNumber(Class<E> enumClass,
IdStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
E |
readFrom(Input input)
Read the enum from the input.
|
getAlias, getByAlias, getByTag, getEnumMapFactory, getEnumSetFactory, getTag, newEnumMap, newEnumSet, newSchema, transfer, writeTopublic ByNumber(Class<E> enumClass, IdStrategy strategy)
public E readFrom(Input input) throws IOException
EnumIOCopyright © 2009–2017. All rights reserved.