Class AbstractLeftPadder

    • Method Detail

      • pad

        public String pad​(String input,
                          int totalLength)
        Description copied from interface: Padder
        Pads a string to the given length
        Parameters:
        input - the string to pad
        totalLength - the length of the final string
        Returns:
        the padded string