public final class ClassSerializer extends Object
Modifier and Type | Method and Description |
---|---|
static Class<?> |
deserialize(String str)
Deserialize a string, previously produced by
serialize(Class) . |
static String |
serialize(Class<?> clazz)
Serialize a class as a string.
|
public static Class<?> deserialize(String str)
serialize(Class)
.str
- the string to deserializeIllegalArgumentException
- if the class cannot be resolvedpublic static String serialize(Class<?> clazz)
clazz
- the classdeserialize(String)
Copyright © 2016 Actian Corporation. All rights reserved.