Nuxeo Enterprise Platform 5.3

org.nuxeo.runtime.services.streaming
Class InputStreamSource

java.lang.Object
  extended by org.nuxeo.runtime.services.streaming.AbstractStreamSource
      extended by org.nuxeo.runtime.services.streaming.InputStreamSource
All Implemented Interfaces:
StreamSource

public class InputStreamSource
extends AbstractStreamSource

Author:
Bogdan Stefanescu

Field Summary
protected  InputStream in
           
 
Constructor Summary
InputStreamSource(InputStream in)
           
 
Method Summary
 void destroy()
           
 InputStream getStream()
           
 
Methods inherited from class org.nuxeo.runtime.services.streaming.AbstractStreamSource
canReopen, copyTo, copyTo, getBytes, getLength, getString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected InputStream in
Constructor Detail

InputStreamSource

public InputStreamSource(InputStream in)
Method Detail

getStream

public InputStream getStream()
                      throws IOException
Throws:
IOException

destroy

public void destroy()
Specified by:
destroy in interface StreamSource
Overrides:
destroy in class AbstractStreamSource

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.