org.jfree.fonts
Class StringUtilities
java.lang.Objectorg.jfree.fonts.StringUtilities
public class StringUtilities
extends java.lang.Object
Some utility classes to compare strings.
static boolean | endsWithIgnoreCase(String base, String end)- Helper functions to query a strings end portion.
|
static boolean | startsWithIgnoreCase(String base, String start)- Helper functions to query a strings start portion.
|
endsWithIgnoreCase
public static boolean endsWithIgnoreCase(String base,
String end) Helper functions to query a strings end portion. The comparison is case insensitive.
base - the base string.end - the ending text.
- true, if the string ends with the given ending text.
startsWithIgnoreCase
public static boolean startsWithIgnoreCase(String base,
String start) Helper functions to query a strings start portion. The comparison is case
insensitive.
base - the base string.start - the starting text.
- true, if the string starts with the given starting text.