de.uni_paderborn.fujaba.basic
Class ClassMap

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.ClassMap

public class ClassMap
extends java.lang.Object

This class caches class.forName calls, since these calls seem to be expensive.

Version:
$Revision: 1.20 $
Author:
$Author: schneider $

Method Summary
 java.lang.Class forName(java.lang.String name)
          No comment provided by developer, please add a comment to improve documentation.
static ClassMap get()
          Get and init the Singleton instance.
 java.lang.Class getClass(java.lang.String name)
          Try to find class 'name'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static ClassMap get()
Get and init the Singleton instance.

Returns:
the Singleton instance

forName

public java.lang.Class forName(java.lang.String name)
                        throws java.lang.ClassNotFoundException
No comment provided by developer, please add a comment to improve documentation.

Parameters:
name - No description provided
Returns:
No description provided
Throws:
java.lang.ClassNotFoundException - Exception description not provided

getClass

public java.lang.Class getClass(java.lang.String name)
Try to find class 'name'.

Parameters:
name - the name of class
Returns:
the class with class.getName() == 'name' or null , if class not found