Kactoos

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

PaddedEndText

class PaddedEndText : TextEnvelope

Text padded at end to reach the given length.

There is thread safe.

Parameters

text - The text

length - The minimum length of the resulting string

symbol - The padding symbol

Since 0.4

Constructors

Name Summary
<init> PaddedEndText(text: Text, length: Int, symbol: Char)PaddedEndText(text: KText, length: Int, symbol: Char)
Text padded at end to reach the given length.

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