Class AbstractLocalURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.jboss.vfs.protocol.AbstractLocalURLStreamHandler
- Direct Known Subclasses:
FileURLStreamHandler, VirtualFileURLStreamHandler
Abstract URLStreamHandler that can be used as a base for other URLStreamHandlers that
require the URL to be local.
- Version:
- $Revision$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidensureLocal(URL url) protected booleanhostsEqual(URL url1, URL url2) protected URLConnectionopenConnection(URL u, Proxy p) private static StringMethods inherited from class URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Field Details
-
locals
-
-
Constructor Details
-
AbstractLocalURLStreamHandler
public AbstractLocalURLStreamHandler()
-
-
Method Details
-
toLower
-
openConnection
- Overrides:
openConnectionin classURLStreamHandler- Throws:
IOException
-
hostsEqual
- Overrides:
hostsEqualin classURLStreamHandler
-
ensureLocal
- Throws:
IOException
-