Kactoos

kactoos-jvm / nnl.rocks.kactoos.text / AbbreviatedText

AbbreviatedText

class AbbreviatedText : TextEnvelope

Abbreviates a Text using ellipses.

There is no thread-safety guarantee.

Since 0.3

Constructors

Name Summary
<init> AbbreviatedText(text: String)
AbbreviatedText(text: String, max: Int)AbbreviatedText(origin: KText, width: Int)
Abbreviates a Text using ellipses.

Inherited Functions

Name Summary
asString open fun asString(): String
Convert it to the string.
compareTo open fun compareTo(other: Text): Int
equals open fun equals(other: Any?): Boolean
hashCode open fun hashCode(): Int
toString open fun toString(): String