org.jboss.virtual.plugins.vfs
Class VirtualFileUrlStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.jboss.virtual.plugins.vfs.VirtualFileUrlStreamHandler

public class VirtualFileUrlStreamHandler
extends URLStreamHandler

Used when creating VFS urls so we don't have to go through the handlers all the time

Version:
$Revision: 1.1 $
Author:
Bill Burke

Constructor Summary
VirtualFileUrlStreamHandler(VirtualFileHandler handler)
           
 
Method Summary
protected  URLConnection openConnection(URL u)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualFileUrlStreamHandler

public VirtualFileUrlStreamHandler(VirtualFileHandler handler)
Method Detail

openConnection

protected URLConnection openConnection(URL u)
                                throws IOException
Specified by:
openConnection in class URLStreamHandler
Throws:
IOException


Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.