|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.shell.util.Strings
public class Strings
Procedural class with static public methods for string handling.
| Constructor Summary | |
|---|---|
Strings()
|
|
| Method Summary | |
|---|---|
static String |
fixCase(String s)
Fixes case of a word: Str -> str, but URL -> URL. |
static String |
joinStrings(List<String> strings,
boolean fixCase,
char withChar)
Generic string joining function. |
static List<String> |
splitJavaIdentifier(String string)
Rather clever function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Strings()
| Method Detail |
|---|
public static String fixCase(String s)
s - Word to be fixed
public static String joinStrings(List<String> strings,
boolean fixCase,
char withChar)
strings - Strings to be joinedfixCase - does it need to fix word casewithChar - char to join strings with.
public static List<String> splitJavaIdentifier(String string)
string - String to be splitted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||