|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.al.TrimString
public class TrimString
Utility class to trim strings so that they may be presented on the UI.
| Field Summary | |
|---|---|
static java.lang.String |
END_TRIM
Characters at the end of the trim |
| Constructor Summary | |
|---|---|
TrimString()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
trimEnd(java.lang.String in)
Returns the string trimmed to the default length |
static java.lang.String |
trimEnd(java.lang.String in,
int length)
Returns the string trimmed at the end to the length passed in as a parameter. |
static java.lang.String |
trimMiddle(java.lang.String in)
Returns the string trimmed in the middle to the default length. |
static java.lang.String |
trimMiddle(java.lang.String in,
int length)
Returns the string trimmed in the middle to the length passed in as a parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String END_TRIM
| Constructor Detail |
|---|
public TrimString()
| Method Detail |
|---|
public static java.lang.String trimEnd(java.lang.String in)
in -
public static java.lang.String trimEnd(java.lang.String in,
int length)
in - length -
public static java.lang.String trimMiddle(java.lang.String in)
in -
public static java.lang.String trimMiddle(java.lang.String in,
int length)
in - length -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||