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, wait
getStream
public long getLength() throws IOException
getLength
in interface StreamSource
IOException
public boolean canReopen()
canReopen
in interface StreamSource
public byte[] getBytes() throws IOException
getBytes
in interface StreamSource
IOException
public String getString() throws IOException
getString
in interface StreamSource
IOException
public void copyTo(File file) throws IOException
copyTo
in interface StreamSource
IOException
public void copyTo(OutputStream out) throws IOException
copyTo
in interface StreamSource
IOException
public void destroy()
destroy
in interface StreamSource
Copyright © 2011 Nuxeo SA. All Rights Reserved.