| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.io.WritableName
public class WritableName
Utility to permit renaming of Writable implementation classes without invalidiating files that contain their class name.
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
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| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||