Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.services.streaming
Interface StreamSource

All Known Implementing Classes:
AbstractStreamSource, ByteArraySource, DefaultBinaryManager.ScrambledStreamSource, FileSource, InputStreamSource, StringSource, UploadedStreamSource, URLSource, ZipEntrySource

public interface StreamSource

Author:
Bogdan Stefanescu

Method Summary
 boolean canReopen()
           
 void copyTo(File file)
           
 void copyTo(OutputStream out)
           
 void destroy()
           
 byte[] getBytes()
           
 long getLength()
           
 InputStream getStream()
           
 String getString()
           
 

Method Detail

getStream

InputStream getStream()
                      throws IOException
Throws:
IOException

getBytes

byte[] getBytes()
                throws IOException
Throws:
IOException

getString

String getString()
                 throws IOException
Throws:
IOException

getLength

long getLength()
               throws IOException
Throws:
IOException

copyTo

void copyTo(File file)
            throws IOException
Throws:
IOException

copyTo

void copyTo(OutputStream out)
            throws IOException
Throws:
IOException

canReopen

boolean canReopen()

destroy

void destroy()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.