public abstract class AbstractBlob extends Object implements Blob
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
EMPTY_BYTE_ARRAY |
static InputStream |
EMPTY_INPUT_STREAM |
static Reader |
EMPTY_READER |
static String |
EMPTY_STRING |
| Constructor and Description |
|---|
AbstractBlob() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(InputStream in,
OutputStream out) |
static void |
copy(Reader in,
Writer out) |
void |
transferTo(File file) |
void |
transferTo(OutputStream out) |
void |
transferTo(Writer writer) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByteArray, getDigest, getEncoding, getFilename, getLength, getMimeType, getReader, getStream, getString, isPersistent, persist, setDigest, setEncoding, setFilename, setMimeTypepublic static final String EMPTY_STRING
public static final byte[] EMPTY_BYTE_ARRAY
public static final InputStream EMPTY_INPUT_STREAM
public static final Reader EMPTY_READER
public static void copy(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static void copy(Reader in, Writer out) throws IOException
IOExceptionpublic void transferTo(Writer writer) throws IOException
transferTo in interface BlobIOExceptionpublic void transferTo(OutputStream out) throws IOException
transferTo in interface BlobIOExceptionpublic void transferTo(File file) throws IOException
transferTo in interface BlobIOExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.