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, wait
getByteArray, getDigest, getEncoding, getFilename, getLength, getMimeType, getReader, getStream, getString, isPersistent, persist, setDigest, setEncoding, setFilename, setMimeType
public 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
IOException
public static void copy(Reader in, Writer out) throws IOException
IOException
public void transferTo(Writer writer) throws IOException
transferTo
in interface Blob
IOException
public void transferTo(OutputStream out) throws IOException
transferTo
in interface Blob
IOException
public void transferTo(File file) throws IOException
transferTo
in interface Blob
IOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.