public class WritableName extends Object
限定符和类型 | 方法和说明 |
---|---|
static void |
addName(Class writableClass,
String name)
Add an alternate name for a class.
|
static Class<?> |
getClass(String name,
Configuration conf)
Return the class for a name.
|
static String |
getName(Class writableClass)
Return the name for a class.
|
static void |
setName(Class writableClass,
String name)
Set the name that a class should be known as to something other than the
class name.
|
public static void setName(Class writableClass, String name)
public static void addName(Class writableClass, String name)
public static String getName(Class writableClass)
Class.getName()
.public static Class<?> getClass(String name, Configuration conf) throws IOException
Class.forName(String)
.IOException
Copyright © 2009 The Apache Software Foundation