|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addURL(java.lang.String url)
|
void |
addURL(java.net.URL url)
|
java.lang.String |
getLibraryDirectory()
|
java.util.Set |
getMBeansFromURL(java.lang.String url)
|
java.util.Set |
getMBeansFromURL(java.net.URL url)
|
java.net.URL |
getResource(java.lang.String name)
Finds the resource with the given name. |
java.io.InputStream |
getResourceAsStream(java.lang.String name)
Returns an input stream for reading the specified resource. |
java.util.Enumeration |
getResources(java.lang.String name)
Finds all the resources with the given name. |
java.net.URL[] |
getURLs()
|
void |
setLibraryDirectory(java.lang.String libdir)
|
Method Detail |
public void addURL(java.lang.String url) throws ServiceNotFoundException
ServiceNotFoundException
public void addURL(java.net.URL url)
public java.net.URL[] getURLs()
public java.lang.String getLibraryDirectory()
public void setLibraryDirectory(java.lang.String libdir)
public java.net.URL getResource(java.lang.String name)
Finds the resource with the given name. A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is independent of the location of the code. The name of a resource is a "/"-separated path name that identifies the resource
name
- - The resource name
public java.io.InputStream getResourceAsStream(java.lang.String name)
Returns an input stream for reading the specified resource. The search order is described in the documentation for getResource(String).
name
- - The resource name
public java.util.Enumeration getResources(java.lang.String name) throws java.io.IOException
Finds all the resources with the given name. A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is independent of the location of the code. The name of a resource is a "/"-separated path name that identifies the resource
name
- - The resource name
java.io.IOException
public java.util.Set getMBeansFromURL(java.lang.String url) throws ServiceNotFoundException
ServiceNotFoundException
public java.util.Set getMBeansFromURL(java.net.URL url) throws ServiceNotFoundException
ServiceNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |