org.dozer.util
Class DefaultClassLoader

java.lang.Object
  extended by org.dozer.util.DefaultClassLoader
All Implemented Interfaces:
DozerClassLoader

public class DefaultClassLoader
extends Object
implements DozerClassLoader

Since:
5.1
Author:
dmitry.buzdin

Constructor Summary
DefaultClassLoader()
           
 
Method Summary
 Class<?> loadClass(String className)
          Loads class by provided name
 URL loadResource(String uri)
          Loads the resource by URI as an URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClassLoader

public DefaultClassLoader()
Method Detail

loadClass

public Class<?> loadClass(String className)
Description copied from interface: DozerClassLoader
Loads class by provided name

Specified by:
loadClass in interface DozerClassLoader
Parameters:
className - fully qualified class name
Returns:
the class if found, null otherwise

loadResource

public URL loadResource(String uri)
Description copied from interface: DozerClassLoader
Loads the resource by URI as an URL

Specified by:
loadResource in interface DozerClassLoader
Parameters:
uri - uri of the resource
Returns:
resource URL


Copyright © 2005-2011 dozer. All Rights Reserved.