|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.carma.model.util.StringUtils
public final class StringUtils
Set of utilities for dealing with common String operations
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
EMPTY_STRING
Constant value -- "" |
| Constructor Summary | |
|---|---|
StringUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
isEmpty(java.lang.String item)
Tests the given string for Empty. |
static boolean |
isEquals(java.lang.String item1,
java.lang.String item2)
Tests the given strings for equality. |
static java.lang.String |
resolveString(java.lang.String item)
Tests to determine if the given string for null. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String EMPTY_STRING
| Constructor Detail |
|---|
public StringUtils()
| Method Detail |
|---|
public static final java.lang.String resolveString(java.lang.String item)
empty string
if the item is null and the item contents otherwise
item - the string to test for null
public static final boolean isEmpty(java.lang.String item)
item - the string to test
public static final boolean isEquals(java.lang.String item1,
java.lang.String item2)
null.
item1 - original stringitem2 - string to compare to
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||