StringUtilities¶
-
public class
StringUtilities
¶ Class with string utilities, mostly helping with canonical representation of String
Author: wojtek
Methods¶
checkIfArrayContainsString¶
-
public static boolean
checkIfArrayContainsString
(char[] data, char[] string)¶
checkIfArrayContainsString¶
-
public static boolean
checkIfArrayContainsString
(char[] data, int fromIndex, char[] string)¶
convertNonPrintableCharactersToLiterals¶
convertNonPrintableCharactersToLiterals¶
intArrayToString¶
internStringArray¶
padString¶
-
public static StringBuilder
padString
(StringBuilder sb, String text, int width)¶
padString¶
-
public static StringBuilder
padString
(StringBuilder sb, String text, int width, String leftBracket, String rightBracket)¶
padString¶
-
public static StringBuilder
padString
(StringBuilder sb, String text, JUSTIFY justify, int width, char padChar, String leftBracket, String rightBracket)¶
padStringToColumn¶
-
public static StringBuilder
padStringToColumn
(StringBuilder sb, String text, JUSTIFY justify, int column, char padChar, String leftBracket, String rightBracket)¶