public class JarURLProtocolHandler extends com.xuggle.xuggler.io.FileProtocolHandler
IURLProtocolHandler for jar resources. This implementation copies
the resource to a temporary file before opening it - it could potentially
consume a stream directly, but this would restrict the video codecs to ones
that directly support streaming.| Constructor and Description |
|---|
JarURLProtocolHandler()
Construct with no video
|
JarURLProtocolHandler(String url)
Construct with the given url.
|
public JarURLProtocolHandler()
public JarURLProtocolHandler(String url) throws IOException
url - the url to the videoIOException - if an error occurspublic int open(String url, int flags)
open in interface com.xuggle.xuggler.io.IURLProtocolHandleropen in class com.xuggle.xuggler.io.FileProtocolHandlerpublic int write(byte[] paramArrayOfByte, int paramInt)
write in interface com.xuggle.xuggler.io.IURLProtocolHandlerwrite in class com.xuggle.xuggler.io.FileProtocolHandler