|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aitools.programd.util.StringKit
public class StringKit
Contains various utilities.
| Constructor Summary | |
|---|---|
StringKit()
|
|
| Method Summary | |
|---|---|
static String |
renderAsLines(String[] strings)
Turns an array of strings into a single string with line separators between each of the original strings. |
static String |
tab(int level)
Returns a tab of the specified length. |
static ArrayList<String> |
wordSplit(String input)
Splits an input into words, breaking at spaces. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringKit()
| Method Detail |
|---|
public static String tab(int level)
level - the level of the tab
public static ArrayList<String> wordSplit(String input)
input - the input to split
public static String renderAsLines(String[] strings)
strings - the strings to render
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||