Class PaddedStart

  • All Implemented Interfaces:
    Text

    public final class PaddedStart
    extends TextEnvelope
    Text padded at start to reach the given length.

    There is thread safe.

    Since:
    0.32
    • Constructor Detail

      • PaddedStart

        public PaddedStart​(Text text,
                           int length,
                           char symbol)
        Ctor.
        Parameters:
        text - The text
        length - The minimum length of the resulting string
        symbol - The padding symbol