protected class ResourceLoader.ClassLoaderURLStreamHandler extends ResourceLoader.PathURLStreamHandler
| Constructor and Description |
|---|
ClassLoaderURLStreamHandler(ResourceLoader.ClassLoaderURLStreamHandler f) |
ClassLoaderURLStreamHandler(String r) |
| Modifier and Type | Method and Description |
|---|---|
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) |
(package private) 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() |
openConnectionequals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormClassLoaderURLStreamHandler(String r)
ClassLoaderURLStreamHandler(ResourceLoader.ClassLoaderURLStreamHandler f)
protected 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
IOExceptionEnumeration<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.PathURLStreamHandlerMMBase 1.9-SNAPSHOT - ${javadoctimestamp}