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$
- Author:
- invalid input: '<'a href=mailto:jbailey@redhat.com">John Bailey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidensureLocal(URL url) protected booleanhostsEqual(URL url1, URL url2) protected URLConnectionopenConnection(URL u, Proxy p) Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
AbstractLocalURLStreamHandler
public AbstractLocalURLStreamHandler()
-
-
Method Details
-
openConnection
- Overrides:
openConnectionin classURLStreamHandler- Throws:
IOException
-
hostsEqual
- Overrides:
hostsEqualin classURLStreamHandler
-
ensureLocal
- Throws:
IOException
-