org.jboss.vfs.protocol
Class AbstractLocalURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.jboss.vfs.protocol.AbstractLocalURLStreamHandler
- Direct Known Subclasses:
- FileURLStreamHandler, VirtualFileURLStreamHandler
public abstract class AbstractLocalURLStreamHandler
- extends URLStreamHandler
Abstract URLStreamHandler that can be used as a base for other URLStreamHandlers that
require the URL to be local.
- Version:
- $Revision$
- Author:
- John Bailey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLocalURLStreamHandler
public AbstractLocalURLStreamHandler()
openConnection
protected URLConnection openConnection(URL u,
Proxy p)
throws IOException
- Overrides:
openConnection
in class URLStreamHandler
- Throws:
IOException
hostsEqual
protected boolean hostsEqual(URL url1,
URL url2)
- Overrides:
hostsEqual
in class URLStreamHandler
ensureLocal
protected void ensureLocal(URL url)
throws IOException
- Throws:
IOException
Copyright © 2012 JBoss, A division of Red Hat, Inc. All Rights Reserved.