public abstract class AbstractStreamSource extends Object implements StreamSource
| Constructor and Description |
|---|
AbstractStreamSource() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReopen() |
void |
copyTo(File file) |
void |
copyTo(OutputStream out) |
void |
destroy() |
byte[] |
getBytes() |
long |
getLength() |
String |
getString() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStreampublic long getLength()
throws IOException
getLength in interface StreamSourceIOExceptionpublic boolean canReopen()
canReopen in interface StreamSourcepublic byte[] getBytes()
throws IOException
getBytes in interface StreamSourceIOExceptionpublic String getString() throws IOException
getString in interface StreamSourceIOExceptionpublic void copyTo(File file) throws IOException
copyTo in interface StreamSourceIOExceptionpublic void copyTo(OutputStream out) throws IOException
copyTo in interface StreamSourceIOExceptionpublic void destroy()
destroy in interface StreamSourceCopyright © 2012 Nuxeo SA. All Rights Reserved.