|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.brains2b.data.sql.lob.LobHelper
public class LobHelper
Helper method to create Clob, Blob and Streams either on the basis of the objects supplied or for creating new Objects
| Constructor Summary | |
|---|---|
LobHelper()
|
|
| Method Summary | |
|---|---|
static java.sql.Blob |
createBlob()
create a new empty Blob |
static java.sql.Blob |
createBlob(java.sql.Blob blob)
create a wrapper around an existing Blob |
static java.sql.Clob |
createClob()
create a new empty Clob |
static java.sql.Clob |
createClob(java.sql.Clob clob)
create a wrapper around an existing Clob |
static org.brains2b.sql.meta.types.Stream |
createStream()
create a new empty Stream |
static org.brains2b.sql.meta.types.Stream |
createStream(java.io.InputStream is,
boolean disconnected)
create a Stream object for the InputStream from the database, that can then be used to change the content by using Stream.getOutputStream() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LobHelper()
| Method Detail |
|---|
public static final java.sql.Clob createClob()
public static final java.sql.Clob createClob(java.sql.Clob clob)
clob - Clob
public static final java.sql.Blob createBlob()
public static final java.sql.Blob createBlob(java.sql.Blob blob)
blob - Blob
public static final org.brains2b.sql.meta.types.Stream createStream(java.io.InputStream is,
boolean disconnected)
Stream.getOutputStream()
is - InputStreamdisconnected - boolean
Streampublic static final org.brains2b.sql.meta.types.Stream createStream()
Stream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||