|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.util.Strings
Some utilities for use with Strings.
Constructor Summary | |
Strings()
|
Method Summary | |
static String |
addLineNumbers(String text)
Helper method to add line numbers to a string |
static String |
addPadding(String pad,
int n)
Add n pad characters to pad. |
static String |
getFileSep()
Get local fashion for file separators (e.g. |
static String |
getNl()
Get local fashion for newlines. |
static String |
getPathSep()
Get local fashion for path separators (e.g. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Strings()
Method Detail |
public static String getNl()
public static String getPathSep()
public static String getFileSep()
public static String addPadding(String pad, int n)
public static String addLineNumbers(String text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |