org.apache.hadoop.hbase.util
Class Classes
java.lang.Object
org.apache.hadoop.hbase.util.Classes
@InterfaceAudience.Private
public class Classes
- extends Object
Utilities for class manipulation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Classes
public Classes()
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 © 2007-2016 The Apache Software Foundation. All Rights Reserved.