|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.continuations.util.StringUtils
public abstract class StringUtils
General purpose class containing common String manipulation
methods.
| Constructor Summary | |
|---|---|
StringUtils()
|
|
| Method Summary | |
|---|---|
static String |
join(double[] array,
String seperator)
Creates a new String object, containing the elements of a
supplied array, joined by a given seperator. |
static String |
join(float[] array,
String seperator)
Creates a new String object, containing the elements of a
supplied array, joined by a given seperator. |
static String |
join(int[] array,
String seperator)
Creates a new String object, containing the elements of a
supplied array, joined by a given seperator. |
static String |
join(long[] array,
String seperator)
Creates a new String object, containing the elements of a
supplied array, joined by a given seperator. |
static String |
join(Object[] array,
String seperator)
Creates a new String object, containing the elements of a
supplied array, joined by a given seperator. |
static String |
repeat(String source,
int count)
Creates a new string that contains the provided string a number of times. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringUtils()
| Method Detail |
|---|
public static String repeat(String source,
int count)
source - The string that will be repeated.count - The number of times that the string will be repeated.
String object containing the repeated
concatenation result.
public static String join(Object[] array,
String seperator)
String object, containing the elements of a
supplied array, joined by a given seperator.
array - The object array containing the elements to join.seperator - The seperator used to join the string elements.
String with the join result.
public static String join(double[] array,
String seperator)
String object, containing the elements of a
supplied array, joined by a given seperator.
array - The double array containing the values to join.seperator - The seperator used to join the string elements.
String with the join result.
public static String join(float[] array,
String seperator)
String object, containing the elements of a
supplied array, joined by a given seperator.
array - The float array containing the values to join.seperator - The seperator used to join the string elements.
String with the join result.
public static String join(int[] array,
String seperator)
String object, containing the elements of a
supplied array, joined by a given seperator.
array - The integer array containing the values to join.seperator - The seperator used to join the string elements.
String with the join result.
public static String join(long[] array,
String seperator)
String object, containing the elements of a
supplied array, joined by a given seperator.
array - The long array containing the values to join.seperator - The seperator used to join the string elements.
String with the join result.
|
RIFE Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||