org.allcolor.yahp.converter
Class CMemoryURLHandler
java.lang.Object
java.net.URLStreamHandler
org.allcolor.yahp.converter.CMemoryURLHandler
public class CMemoryURLHandler
- extends java.net.URLStreamHandler
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 |
handler
private static CMemoryURLHandler handler
mapMem
private static java.util.Map mapMem
CMemoryURLHandler
public CMemoryURLHandler()
getInstance
public static CMemoryURLHandler getInstance()
createMemoryURL
protected static java.net.URL createMemoryURL(java.lang.String entryName,
byte[] entry)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
releaseMemoryURL
protected static void releaseMemoryURL(java.net.URL u)
openConnection
protected java.net.URLConnection openConnection(java.net.URL u)
throws java.io.IOException
- Specified by:
openConnection
in class java.net.URLStreamHandler
- Throws:
java.io.IOException