freemarker.template.utility
Class ClassUtil

java.lang.Object
  extended by freemarker.template.utility.ClassUtil

public class ClassUtil
extends java.lang.Object

Version:
$Id: ClassUtil.java,v 1.1 2003/03/06 13:16:31 szegedia Exp $
Author:
Attila Szegedi

Method Summary
static java.lang.Class forName(java.lang.String className)
          Similar to Class.forName(java.lang.String), but attempts to load through the thread context class loader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forName

public static java.lang.Class forName(java.lang.String className)
                               throws java.lang.ClassNotFoundException
Similar to Class.forName(java.lang.String), but attempts to load through the thread context class loader. Only if thread context class loader is inaccessible, or it can't find the class will it attempt to fall back to the class loader that loads the FreeMarker classes.

Throws:
java.lang.ClassNotFoundException