| Modifier and Type | Field and Description |
|---|---|
| private static final char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String |
| PADDING_CHAR_NONE | back to summary |
|---|---|
| private static final char PADDING_CHAR_NONE | |
| PaddingUtils | back to summary |
|---|---|
| public PaddingUtils() | |
| padding | back to summary |
|---|---|
| public static String padding(String rawString, int maxPaddingLength) Applies padding to given string up to specified number of characters. If given string is shorter or same as maxPaddingLength, it will just return the original string. Otherwise it would be padded with "\0" character to have at least "maxPaddingLength" characters | |