public class ClassUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
getPrimitiveTypeFor(java.lang.String name)
Returns the type(class) for the name specified
or null if not found.
|
static java.lang.Class |
getTypeFor(java.lang.String shortName)
Attempt to determine the actual class given the short name.
|
static java.lang.String |
withoutPackageName(java.lang.String fullTypeName)
Returns the abbreviated name of the type,
without the package name
|
public static java.lang.Class getPrimitiveTypeFor(java.lang.String name)
name
- Stringpublic static java.lang.Class getTypeFor(java.lang.String shortName)
shortName
- Stringpublic static java.lang.String withoutPackageName(java.lang.String fullTypeName)
fullTypeName
-