public final class EnumConverter<E extends java.lang.Enum<E>>
extends <any>
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,<any>> |
converters |
(package private) java.lang.Class<E> |
enumClass |
Constructor and Description |
---|
EnumConverter(java.lang.Class<E> enumClass) |
Modifier and Type | Method and Description |
---|---|
E |
convert(<any> value,
Font not_used) |
boolean |
equals(java.lang.Object other) |
static <any> |
getInstance(java.lang.String ename) |
int |
hashCode() |
static <any> |
readBinary(java.io.DataInputStream is,
java.lang.String[] strings) |
java.lang.String |
toString() |
void |
writeBinary(java.io.DataOutputStream os,
StringStore sstore) |
public EnumConverter(java.lang.Class<E> enumClass)
public E convert(<any> value, Font not_used)
public void writeBinary(java.io.DataOutputStream os, StringStore sstore) throws java.io.IOException
java.io.IOException
public static <any> readBinary(java.io.DataInputStream is, java.lang.String[] strings) throws java.io.IOException
java.io.IOException
public static <any> getInstance(java.lang.String ename)
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()