public class BatooUtils extends Object
| Constructor and Description |
|---|
BatooUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
acronym(String name)
Returns the acronym of the name
|
static String |
indent(String str)
Indents the
string by one tab. |
static String |
lower(String string)
Converts the string to lower case.
|
static <X> Collection<X> |
subtract(Collection<X> a,
Collection<X> b) |
static String |
tree(String str)
Indents the
string by one tab. |
static String |
upper(String string)
Converts the string to upper case.
|
public static String acronym(String name)
name - the namepublic static String indent(String str)
string by one tab.str - string to indentpublic static String lower(String string)
string - the string to convertpublic static <X> Collection<X> subtract(Collection<X> a, Collection<X> b)
X - the type of the collecionsa - the collection ab - the collection bpublic static String tree(String str)
string by one tab.str - string to indentCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.