|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.clazzes.jdbc2xml.helper.JAVAHelper
public abstract class JAVAHelper
Commonf helper functions, which are not part of JAVA.
Constructor Summary | |
---|---|
JAVAHelper()
|
Method Summary | |
---|---|
static String |
joinStrings(Collection<String> strings)
Simply concatenate a collection of strings by using a comma as separator. |
static void |
joinStrings(StringBuffer sb,
Collection<String> strings)
Simply concatenate a collection of strings by using a comma as separator. |
static List<String> |
splitString(String s)
Split a string at all occurrences of the comma char. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAVAHelper()
Method Detail |
---|
public static void joinStrings(StringBuffer sb, Collection<String> strings)
sb
- The string buffer to write the concatenated list of string to.strings
- A collection of strings.public static String joinStrings(Collection<String> strings)
strings
- A collection of strings.
public static List<String> splitString(String s)
s
- The string to split.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |