|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.OracleObjectHandler
An Oracle database object utiliy class to handle reading and writing of BLOBs, CLOBs, and other helper utils.
| Constructor Summary | |
OracleObjectHandler()
|
|
| Method Summary | |
static boolean |
readBlob(oracle.sql.BLOB blob,
java.io.OutputStream outputStream)
Writes the given BLOB data to the given output stream. |
static boolean |
readClob(oracle.sql.CLOB clob,
java.io.OutputStream outputStream)
Writes the given CLOB data to the given output stream. |
static void |
writeBlob(oracle.sql.BLOB blob,
java.io.InputStream inputStream)
Writes the given input stream data to the given BLOB. |
static void |
writeClob(oracle.sql.CLOB clob,
java.io.InputStream inputStream)
Writes the given input stream data to the given CLOB. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OracleObjectHandler()
| Method Detail |
public static boolean readClob(oracle.sql.CLOB clob,
java.io.OutputStream outputStream)
throws java.sql.SQLException,
java.io.IOException
clob - The clob object to read the data from.outputStream - The output stream to write to.
java.sql.SQLException - Thrown if an error occurs.
java.io.IOException - Thrown if an error occurs.
public static void writeClob(oracle.sql.CLOB clob,
java.io.InputStream inputStream)
throws java.sql.SQLException,
java.io.IOException
clob - The clob object to read the data from.inputStream - The input stream to read to.
java.sql.SQLException - Thrown if an error occurs.
java.io.IOException - Thrown if an error occurs.
public static boolean readBlob(oracle.sql.BLOB blob,
java.io.OutputStream outputStream)
throws java.sql.SQLException,
java.io.IOException
blob - The blob object to read the data from.outputStream - The output stream to write to.
java.sql.SQLException - Thrown if an error occurs.
java.io.IOException - Thrown if an error occurs.
public static void writeBlob(oracle.sql.BLOB blob,
java.io.InputStream inputStream)
throws java.sql.SQLException,
java.io.IOException
blob - The blob object to read the data from.inputStream - The input stream to read to.
java.sql.SQLException - Thrown if an error occurs.
java.io.IOException - Thrown if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||