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
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()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.