org.outerj.daisy.repository
Class FilePartDataSource

java.lang.Object
  extended by org.outerj.daisy.repository.FilePartDataSource
All Implemented Interfaces:
PartDataSource

public class FilePartDataSource
extends java.lang.Object
implements PartDataSource


Constructor Summary
FilePartDataSource(java.io.File file)
           
 
Method Summary
 java.io.InputStream createInputStream()
          This method may be called multiple times.
 long getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePartDataSource

public FilePartDataSource(java.io.File file)
Method Detail

createInputStream

public java.io.InputStream createInputStream()
                                      throws java.io.IOException
Description copied from interface: PartDataSource
This method may be called multiple times.

Specified by:
createInputStream in interface PartDataSource
Throws:
java.io.IOException

getSize

public long getSize()
Specified by:
getSize in interface PartDataSource


Copyright © -2012 . All Rights Reserved.