protected static class ResourceLoader.ClassLoaderURLStreamHandler extends ResourceLoader.PathURLStreamHandler
parent, weight| Constructor and Description |
|---|
ClassLoaderURLStreamHandler(ResourceLoader parent,
String r) |
| Modifier and Type | Method and Description |
|---|---|
ResourceLoader.ClassLoaderURLStreamHandler |
createSubHandler(ResourceLoader parent) |
protected String |
getName(URL u)
When a URL has been created, in
ResourceLoader.PathURLStreamHandler.openConnection(String), this method can make a 'name' of it again. |
Set<String> |
getPaths(Set<String> results,
Pattern pattern,
boolean recursive,
boolean directories) |
protected Enumeration<URL> |
getResources(String name)
Returns a List of URL's with the same name.
|
protected SortedSet<URL> |
getSortedResources(String name) |
URLConnection |
openConnection(String name)
We need an openConnection by name only, and public.
|
String |
toString() |
compareTo, getResourceNode, openConnection, setWeightequals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormClassLoaderURLStreamHandler(ResourceLoader parent, String r)
public ResourceLoader.ClassLoaderURLStreamHandler createSubHandler(ResourceLoader parent)
createSubHandler in class ResourceLoader.PathURLStreamHandlerprotected String getName(URL u)
ResourceLoader.PathURLStreamHandlerResourceLoader.PathURLStreamHandler.openConnection(String), this method can make a 'name' of it again.getName in class ResourceLoader.PathURLStreamHandlerprotected SortedSet<URL> getSortedResources(String name) throws IOException
IOExceptionprotected Enumeration<URL> getResources(String name) throws IOException
ResourceLoader.PathURLStreamHandlergetResources in class ResourceLoader.PathURLStreamHandlerIOExceptionpublic final URLConnection openConnection(String name)
ResourceLoader.PathURLStreamHandleropenConnection in class ResourceLoader.PathURLStreamHandlerpublic Set<String> getPaths(Set<String> results, Pattern pattern, boolean recursive, boolean directories)
getPaths in class ResourceLoader.PathURLStreamHandlerpublic String toString()
toString in class ResourceLoader.PathURLStreamHandlerMMBase2 Utils 2.0.0 - 2019-08-08T23:20