@OpenApiAll public class PlainTextBuilder<T extends PlainTextBuilder> extends AbstractTextBuilder<T>
Constructor and Description |
---|
PlainTextBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
compress(int textLength)
Compress current text to the given length.
|
boolean |
isPlainTextEmpty() |
protected java.lang.String |
toAppendableText(java.lang.String text) |
java.lang.String |
toPlainText() |
append, appendColor, appendToText, isTextAdded, prepend, prependColor, prependToText, replaceText, setText, textLength, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
append, appendWithNoWrap, isColorSupported, prepend, prependWithNoWrap, setColor, setText
protected java.lang.String toAppendableText(java.lang.String text)
toAppendableText
in class AbstractTextBuilder<T extends PlainTextBuilder>
public void compress(int textLength)
TextBuilder
textLength
- text lengthpublic java.lang.String toPlainText()
public boolean isPlainTextEmpty()