|
||||||||||
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(java.io.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(java.lang.String text)
Constructor for LobData from a string. |
Method Summary | |
---|---|
int |
getLength()
Returns the length of the CLOB data in characters. |
java.io.Reader |
getReader()
Set the defaultEncoding used in a constructor. |
java.lang.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(java.io.Reader reader, int length) throws java.lang.IllegalArgumentException
reader
- The reader where the character data will be read fromlength
- The number of characters to read from the reader
java.lang.IllegalArgumentException
- If the reader is nullpublic DBClobData(java.lang.String text) throws java.lang.IllegalArgumentException
text
- The string to be used as data
java.lang.IllegalArgumentException
- If the text is nullMethod Detail |
---|
public java.io.Reader getReader()
public int getLength()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |