|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.db.DBClobData
public class DBClobData
This class allocates methods to store binary character objects in the database.
Constructor Summary | |
---|---|
DBClobData(Reader reader,
int length)
Constructor to pass LOB data to the setValue methods of a record, consisting of the input stream where the data can be loaded from and the length of the data. |
|
DBClobData(String text)
Constructor for LobData from a string. |
Method Summary | |
---|---|
int |
getLength()
Returns the length of the CLOB data in characters. |
Reader |
getReader()
Set the defaultEncoding used in a constructor. |
String |
toString()
Returns a CLOB String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBClobData(Reader reader, int length) throws IllegalArgumentException
reader
- The reader where the character data will be read fromlength
- The number of characters to read from the reader
IllegalArgumentException
- If the reader is nullpublic DBClobData(String text) throws IllegalArgumentException
text
- The string to be used as data
IllegalArgumentException
- If the text is nullMethod Detail |
---|
public Reader getReader()
public int getLength()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |