yawda.utils.net
Class CMemoryURLStreamHandler

java.lang.Object
  extended byjava.net.URLStreamHandler
      extended byyawda.utils.net.CMemoryURLStreamHandler

public final class CMemoryURLStreamHandler
extends URLStreamHandler

Author:
Quentin Anciaux

Constructor Summary
CMemoryURLStreamHandler(byte[] content)
           
 
Method Summary
protected  URLConnection openConnection(URL u)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, 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

CMemoryURLStreamHandler

public CMemoryURLStreamHandler(byte[] content)
Method Detail

openConnection

protected final URLConnection openConnection(URL u)
                                      throws IOException
Throws:
IOException
See Also:
URLStreamHandler.openConnection(java.net.URL)