|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kylm.util.KylmTextUtils
public class KylmTextUtils
A collection of functions that have to do with handling text
Field Summary | |
---|---|
static java.util.regex.Pattern |
whiteSpace
|
static java.lang.String |
whiteSpaceString
|
Constructor Summary | |
---|---|
KylmTextUtils()
|
Method Summary | |
---|---|
static java.lang.String |
join(java.lang.String glue,
double[] arr)
join an array together with string glue between the words |
static java.lang.String |
join(java.lang.String glue,
int[] arr)
join an array together with string glue between the words |
static java.lang.String |
join(java.lang.String glue,
java.lang.Object[] arr)
join an array together with string glue between the words |
static java.lang.String[] |
splitChars(java.lang.String string)
Splits the input string into an array of strings, each containing one character |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.regex.Pattern whiteSpace
public static java.lang.String whiteSpaceString
Constructor Detail |
---|
public KylmTextUtils()
Method Detail |
---|
public static java.lang.String[] splitChars(java.lang.String string)
string
- The string to be split
public static java.lang.String join(java.lang.String glue, double[] arr)
glue
- The string to be added between the wordsarr
- The array of doubles to be printed
public static java.lang.String join(java.lang.String glue, java.lang.Object[] arr)
glue
- The string to be added between the wordsarr
- The array of objects to be printed
public static java.lang.String join(java.lang.String glue, int[] arr)
glue
- The string to be added between the wordsarr
- The array of objects to be printed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |