|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.util.StringUtil
String utility functions.
| Method Summary | |
static boolean |
endsWithIgnoreCase(java.lang.String base,
java.lang.String end)
Helper functions to query a strings end portion. |
static boolean |
parseBoolean(java.lang.String attribute,
boolean defaultValue)
Parses the given string into a boolean value. |
static int |
parseInt(java.lang.String value,
int defaultValue)
Parses the given string and returns the parsed integer value or the given default if the parsing failed. |
static boolean |
startsWithIgnoreCase(java.lang.String base,
java.lang.String start)
Helper functions to query a strings start portion. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static boolean startsWithIgnoreCase(java.lang.String base,
java.lang.String start)
base - the base string.start - the starting text.
public static boolean endsWithIgnoreCase(java.lang.String base,
java.lang.String end)
base - the base string.end - the ending text.
public static int parseInt(java.lang.String value,
int defaultValue)
value - the to be parsed stringdefaultValue - the default value
public static boolean parseBoolean(java.lang.String attribute,
boolean defaultValue)
attribute - the string that should be parsed.defaultValue - the default value, in case the string is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||