| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader | classLoader
The class loader that is used to load resources |
| private final String | prefix
The prefix that is appended to resources that are to be loaded. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public Resource | getResource(final String
The path path)Implements io. Returns a resource for the given path. |
| public boolean | |
| public void | registerResourceChangeListener(ResourceChangeListener
The listener to register listener)Implements io. Registers a resource change listener, if the underlying resource manager support it |
| public void | removeResourceChangeListener(ResourceChangeListener listener)
Implements io. Removes a resource change listener |
| classLoader | back to summary |
|---|---|
| private final ClassLoader classLoader The class loader that is used to load resources | |
| prefix | back to summary |
|---|---|
| private final String prefix The prefix that is appended to resources that are to be loaded. | |
| ClassPathResourceManager | back to summary |
|---|---|
| public ClassPathResourceManager(final ClassLoader loader, final Package p) | |
| ClassPathResourceManager | back to summary |
|---|---|
| public ClassPathResourceManager(final ClassLoader classLoader, final String prefix) | |
| ClassPathResourceManager | back to summary |
|---|---|
| public ClassPathResourceManager(final ClassLoader classLoader) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| getResource | back to summary |
|---|---|
| public Resource getResource(final String path) throws IOException Implements io. Doc from io. Returns a resource for the given path. It is the responsibility of the called to make sure that the path in Canonicalised. | |
| isResourceChangeListenerSupported | back to summary |
|---|---|
| public boolean isResourceChangeListenerSupported() Implements io.
| |
| registerResourceChangeListener | back to summary |
|---|---|
| public void registerResourceChangeListener(ResourceChangeListener listener) Implements io. Doc from io. Registers a resource change listener, if the underlying resource manager support it
| |
| removeResourceChangeListener | back to summary |
|---|---|
| public void removeResourceChangeListener(ResourceChangeListener listener) Implements io. Doc from io. Removes a resource change listener
| |