public class Class2String
extends java.lang.Object
static
interface requirements as defined by
ToStringManager.registerCustomConverter(java.lang.Class)
.
This class converts a java.lang.Class
instance to
and from String
.
Constructor and Description |
---|
Class2String() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
fromString(java.lang.String s) |
static java.lang.Class |
fromString(java.lang.String s,
java.lang.ClassLoader loader) |
static java.lang.Class |
supportedClass() |
static java.lang.String |
toString(java.lang.Class c) |
public static java.lang.Class supportedClass()
public static java.lang.String toString(java.lang.Class c)
public static java.lang.Class fromString(java.lang.String s) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public static java.lang.Class fromString(java.lang.String s, java.lang.ClassLoader loader) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException