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 java.lang.String CLASS_LOADER_INTERFACE
           
 
Method Summary
 ClassLoaderInterface getParent()
           
 java.net.URL getResource(java.lang.String name)
           
 java.io.InputStream getResourceAsStream(java.lang.String name)
           
 java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
           
 java.lang.Class<?> loadClass(java.lang.String name)
           
 

Field Detail

CLASS_LOADER_INTERFACE

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

loadClass

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

getResource

java.net.URL getResource(java.lang.String name)

getResources

java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
                                                 throws java.io.IOException
Throws:
java.io.IOException

getResourceAsStream

java.io.InputStream getResourceAsStream(java.lang.String name)
                                        throws java.io.IOException
Throws:
java.io.IOException

getParent

ClassLoaderInterface getParent()


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