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