Class TextUtils
java.lang.Object
it.serendigity.maven.plugin.lifecycle.helper.utils.TextUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
static String
justifyFormat
(int width) static String
justifyFormat
(Character leftSeparator, Character rightSeparator, int width) static String
leftJustify
(Character leftSeparator, Character rightSeparator, String text, int width) static String
normalizeFileNameWithExtension
(String fileName, String fileFormat) Normalize file name with extensionfileFormat
static String
rightJustify
(Character leftSeparator, Character rightSeparator, String text, int width)
-
Field Details
-
STRING_PLACEHOLDER
- See Also:
-
-
Method Details
-
leftJustify
-
rightJustify
-
justifyFormat
-
justifyFormat
-
justify
-
normalizeFileNameWithExtension
Normalize file name with extensionfileFormat
- Parameters:
fileName
- name of the filefileFormat
- the format of the file (extension)- Returns:
- the fileName with extension
fileFormat
-