org.outerj.daisy.frontend.editor
Class UploadPartDataSource

java.lang.Object
  extended by org.outerj.daisy.frontend.editor.UploadPartDataSource
All Implemented Interfaces:
org.outerj.daisy.repository.PartDataSource

public class UploadPartDataSource
extends java.lang.Object
implements org.outerj.daisy.repository.PartDataSource


Constructor Summary
UploadPartDataSource(org.apache.cocoon.servlet.multipart.Part part)
           
 
Method Summary
 java.io.InputStream createInputStream()
           
 long getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadPartDataSource

public UploadPartDataSource(org.apache.cocoon.servlet.multipart.Part part)
Method Detail

createInputStream

public java.io.InputStream createInputStream()
                                      throws java.io.IOException
Specified by:
createInputStream in interface org.outerj.daisy.repository.PartDataSource
Throws:
java.io.IOException

getSize

public long getSize()
Specified by:
getSize in interface org.outerj.daisy.repository.PartDataSource


Copyright © -2006 . All Rights Reserved.