| Modifier and Type | Class and Description |
|---|---|
static class |
StringProcessor.Alignment |
| Constructor and Description |
|---|
StringProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
fillWithSpaces(String input,
int lenght)
Method fills the given input string with width-spaces until the given string length is reached.
|
static String |
fillWithSpaces(String input,
int lenght,
StringProcessor.Alignment textAlignment)
Method fills the given input string with width-spaces until the given string length is reached.
|
static String |
formatHumanReadable(String input) |
static String |
insertSpaceBetweenCamelCase(String input) |
static String |
removeDoubleWhiteSpaces(String input) |
static String |
replaceHyphenWithUnderscore(String input) |
static String |
transformFirstCharToUpperCase(String input) |
static String |
transformToCamelCase(String input) |
static String |
transformToIdString(String input) |
static String |
transformToUpperCase(String input) |
static String |
transformUpperCaseToCamelCase(String input) |
public static String fillWithSpaces(String input, int lenght)
input - the original input stringlenght - the requested input string length.public static String fillWithSpaces(String input, int lenght, StringProcessor.Alignment textAlignment)
input - the original input stringlenght - the requested input string length.textAlignment - the alignment of the origin input string.Copyright © 2015–2017 openbase.org. All rights reserved.