Package org.apache.poi.hpbf.model.qcbits
Class QCTextBit
- java.lang.Object
-
- org.apache.poi.hpbf.model.qcbits.QCBit
-
- org.apache.poi.hpbf.model.qcbits.QCTextBit
-
public final class QCTextBit extends QCBit
A Text based bit of Quill Contents
-
-
Constructor Summary
Constructors Constructor Description QCTextBit(java.lang.String thingType, java.lang.String bitType, byte[] data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
getMaxRecordLength()
java.lang.String
getText()
Returns the text.static void
setMaxRecordLength(int length)
void
setText(java.lang.String text)
-
Methods inherited from class org.apache.poi.hpbf.model.qcbits.QCBit
getBitType, getData, getDataOffset, getLength, getOptA, getOptB, getOptC, getThingType, setDataOffset, setOptA, setOptB, setOptC
-
-
-
-
Method Detail
-
setMaxRecordLength
public static void setMaxRecordLength(int length)
- Parameters:
length
- the max record length allowed for QCTextBit
-
getMaxRecordLength
public static int getMaxRecordLength()
- Returns:
- the max record length allowed for QCTextBit
-
getText
public java.lang.String getText()
Returns the text. Note that line endings are \r and not \n
-
setText
public void setText(java.lang.String text)
-
-