public interface CDOLobHandler
Modifier and Type | Method and Description |
---|---|
OutputStream |
handleBlob(byte[] id,
long size)
A callback method for handling a
binary large object . |
Writer |
handleClob(byte[] id,
long size)
A callback method for handling a
character large object . |
OutputStream handleBlob(byte[] id, long size) throws IOException
binary large object
. The ID
and
size
of the blob are passed by the caller. The implementor may return a
stream
that the blob content will be written to by the caller of this method, or
null
to indicate that the content is not needed.IOException
Writer handleClob(byte[] id, long size) throws IOException
character large object
. The ID
and
size
of the blob are passed by the caller. The implementor may return a writer
that the blob content will be written to by the caller of this method, or null
to indicate
that the content is not needed.IOException
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.