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

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

public class FileDataReference
extends Object
implements DataReference


Constructor Summary
FileDataReference(File file)
           
FileDataReference(File file, int position, int 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

FileDataReference

public FileDataReference(File file)

FileDataReference

public FileDataReference(File file,
                         int position,
                         int 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.