public class DBClobData extends Object
Constructor and Description |
---|
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.
|
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 readerIllegalArgumentException
- If the reader is nullpublic DBClobData(String text) throws IllegalArgumentException
text
- The string to be used as dataIllegalArgumentException
- If the text is nullpublic Reader getReader()
public int getLength()
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.