com.github.stephenc.javaisotools.sabre.impl
Class URLDataReference

java.lang.Object
  extended by com.github.stephenc.javaisotools.sabre.impl.URLDataReference
All Implemented Interfaces:
DataReference

public class URLDataReference
extends Object
implements DataReference


Constructor Summary
URLDataReference(URL url, long position, long length)
           
 
Method Summary
 InputStream createInputStream()
           
 long getLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLDataReference

public URLDataReference(URL url,
                        long position,
                        long length)
Method Detail

getLength

public long getLength()
Specified by:
getLength in interface DataReference

createInputStream

public InputStream createInputStream()
                              throws IOException
Specified by:
createInputStream in interface DataReference
Throws:
IOException


Copyright © 2013. All Rights Reserved.