|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.gvsig.i18n.MessagesClassLoader
This class offers a class loader which is able to load files from the specified directories.
Constructor Summary | |
MessagesClassLoader(java.net.URL[] urls)
Creates a new class loader, which is able to load files from the directories specified as parameter. |
Method Summary | |
java.net.URL |
getResource(java.lang.String res)
Loads a resource using the specified file name. |
Methods inherited from class java.net.URLClassLoader |
findResource, findResources, getURLs, newInstance, newInstance |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessagesClassLoader(java.net.URL[] urls)
Creates a new class loader, which is able to load files from the directories specified as parameter.
urls
- The list of directories which will be used to load files.Method Detail |
public java.net.URL getResource(java.lang.String res)
res
- The name of the resource to be loaded.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |