Kactoos

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

PaddedStartText

class PaddedStartText : TextEnvelope

Text padded at start 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> PaddedStartText(text: Text, length: Int, symbol: Char)PaddedStartText(text: KText, length: Int, symbol: Char)
Text padded at start 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