Package org.apache.hadoop.hbase.util
Class Classes
java.lang.Object
org.apache.hadoop.hbase.util.Classes
Utilities for class manipulation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Class<T>
static Class<?>
extendedForName
(String className) Equivalent ofClass.forName(String)
which also returns classes for primitives likeboolean
, etc.static String
-
Constructor Details
-
Classes
public Classes()
-
-
Method Details
-
extendedForName
Equivalent ofClass.forName(String)
which also returns classes for primitives likeboolean
, etc. The name of the class to retrieve. Can be either a normal class or a primitive class.- Returns:
- The class specified by
className
If the requested class can not be found. - Throws:
ClassNotFoundException
-
stringify
-
cast
-