|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.util.ResourceBean
A helper bean to load the given URI from the current threads class loader or the class loader that was used to load this class.
Constructor Summary | |
ResourceBean()
|
Method Summary | |
java.net.URL |
findResource(java.lang.String name)
Attempts to load the given resource from the given name. |
java.lang.ClassLoader |
getClassLoader()
Returns the classLoader. |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the classLoader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceBean()
Method Detail |
public java.net.URL findResource(java.lang.String name)
name
- of the resource to load
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader
- The classLoader to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |