Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.services.streaming
Interface StreamSource

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

public interface StreamSource

Author:
Bogdan Stefanescu

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

Method Detail

getStream

java.io.InputStream getStream()
                              throws java.io.IOException
Throws:
java.io.IOException

getBytes

byte[] getBytes()
                throws java.io.IOException
Throws:
java.io.IOException

getString

java.lang.String getString()
                           throws java.io.IOException
Throws:
java.io.IOException

getLength

long getLength()
               throws java.io.IOException
Throws:
java.io.IOException

copyTo

void copyTo(java.io.File file)
            throws java.io.IOException
Throws:
java.io.IOException

copyTo

void copyTo(java.io.OutputStream out)
            throws java.io.IOException
Throws:
java.io.IOException

canReopen

boolean canReopen()

destroy

void destroy()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.