foundry.stringutils
Class StringUtilities
java.lang.Object
|
+--foundry.stringutils.StringUtilities
- public final class StringUtilities
- extends Object
Method Summary |
(package private) static void |
()
|
static String |
compressWhitespace(String source)
|
static void |
leftPad(StringBuffer source,
char[] characters,
int howMany)
|
static void |
leftPad(StringBuffer source,
char character,
int howMany)
|
static void |
leftPad(StringBuffer source,
int pad,
int howMany)
|
static void |
leftPad(StringBuffer source,
Object pad,
int howMany)
|
static void |
leftPad(StringBuffer source,
String string,
int howMany)
|
static String[] |
linesToStringArray(String multiLineString)
|
static String |
repeat(char[] characters,
int howMany)
|
static String |
repeat(char c,
int howMany)
|
static String |
repeat(int number,
int howMany)
|
static String |
repeat(Object object,
int howMany)
|
static String |
repeat(String string,
int howMany)
|
static void |
rightPad(StringBuffer source,
char[] characters,
int howMany)
|
static void |
rightPad(StringBuffer source,
char character,
int howMany)
|
static void |
rightPad(StringBuffer source,
int pad,
int howMany)
|
static void |
rightPad(StringBuffer source,
Object pad,
int howMany)
|
static void |
rightPad(StringBuffer source,
String string,
int howMany)
|
static String |
stringArrayToLines(String[] array)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
EMPTY_STRING_ARRAY
private static final String[] EMPTY_STRING_ARRAY
LINE_SEPARATOR
public static final String LINE_SEPARATOR
StringUtilities
private StringUtilities()
static void ()
linesToStringArray
public static final String[] linesToStringArray(String multiLineString)
stringArrayToLines
public static final String stringArrayToLines(String[] array)
leftPad
public static final void leftPad(StringBuffer source,
char character,
int howMany)
leftPad
public static final void leftPad(StringBuffer source,
char[] characters,
int howMany)
leftPad
public static final void leftPad(StringBuffer source,
String string,
int howMany)
leftPad
public static final void leftPad(StringBuffer source,
Object pad,
int howMany)
leftPad
public static final void leftPad(StringBuffer source,
int pad,
int howMany)
rightPad
public static final void rightPad(StringBuffer source,
char character,
int howMany)
rightPad
public static final void rightPad(StringBuffer source,
char[] characters,
int howMany)
rightPad
public static final void rightPad(StringBuffer source,
String string,
int howMany)
rightPad
public static final void rightPad(StringBuffer source,
Object pad,
int howMany)
rightPad
public static final void rightPad(StringBuffer source,
int pad,
int howMany)
repeat
public static final String repeat(String string,
int howMany)
repeat
public static final String repeat(char[] characters,
int howMany)
repeat
public static final String repeat(char c,
int howMany)
repeat
public static final String repeat(int number,
int howMany)
repeat
public static final String repeat(Object object,
int howMany)
compressWhitespace
public static final String compressWhitespace(String source)
Copyright © 2000 - Laird Jarrett Nelson