org.apache.hadoop.hbase.util
Class Classes

java.lang.Object
  extended by org.apache.hadoop.hbase.util.Classes

@InterfaceAudience.Public
@InterfaceStability.Stable
public class Classes
extends Object

Utilities for class manipulation.


Constructor Summary
Classes()
           
 
Method Summary
static Class<?> extendedForName(String className)
          Equivalent of Class.forName(String) which also returns classes for primitives like boolean, etc.
static String stringify(Class[] classes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Classes

public Classes()
Method Detail

extendedForName

public static Class<?> extendedForName(String className)
                                throws ClassNotFoundException
Equivalent of Class.forName(String) which also returns classes for primitives like boolean, etc.

Parameters:
className - The name of the class to retrieve. Can be either a normal class or a primitive class.
Returns:
The class specified by className
Throws:
ClassNotFoundException - If the requested class can not be found.

stringify

public static String stringify(Class[] classes)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.