com.opensymphony.xwork2.util.finder
Interface ClassLoaderInterface

All Known Implementing Classes:
ClassLoaderInterfaceDelegate

public interface ClassLoaderInterface

Classes implementing this interface can find resources and load classes, usually delegating to a class loader


Field Summary
static String CLASS_LOADER_INTERFACE
           
 
Method Summary
 ClassLoaderInterface getParent()
           
 URL getResource(String name)
           
 InputStream getResourceAsStream(String name)
           
 Enumeration<URL> getResources(String name)
           
 Class<?> loadClass(String name)
           
 

Field Detail

CLASS_LOADER_INTERFACE

static final String CLASS_LOADER_INTERFACE
See Also:
Constant Field Values
Method Detail

loadClass

Class<?> loadClass(String name)
                   throws ClassNotFoundException
Throws:
ClassNotFoundException

getResource

URL getResource(String name)

getResources

Enumeration<URL> getResources(String name)
                              throws IOException
Throws:
IOException

getResourceAsStream

InputStream getResourceAsStream(String name)
                                throws IOException
Throws:
IOException

getParent

ClassLoaderInterface getParent()


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.