com.jogamp.common.net
Class AssetURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
com.jogamp.common.net.AssetURLStreamHandler
public class AssetURLStreamHandler
- extends URLStreamHandler
URLStreamHandler
to handle the asset protocol.
This is the asset URLStreamHandler variation
for manual use.
It requires passing a valid AssetURLContext
for construction, hence it's not suitable for the pkg factory model.
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 |
AssetURLStreamHandler
public AssetURLStreamHandler(AssetURLContext ctx)
openConnection
protected URLConnection openConnection(URL u)
throws IOException
- Specified by:
openConnection
in class URLStreamHandler
- Throws:
IOException