|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.pagenode.jstl.Functions
public class Functions
Contains all JSTL functions.
Method Summary | |
---|---|
static boolean |
contains(java.lang.String input,
java.lang.String sub)
Tests if an input string contains the specified substring. |
static boolean |
containsIgnoreCase(java.lang.String input,
java.lang.String sub)
Tests if an input string contains the specified substring in a case insensitive way. |
static boolean |
endsWith(java.lang.String input,
java.lang.String suffix)
Tests if an input string ends with the specified suffix. |
static java.lang.String |
escapeXml(java.lang.String input)
Escapes characters that could be interpreted as XML markup. |
static int |
indexOf(java.lang.String input,
java.lang.String sub)
Returns the index withing a string of the first occurrence of a specified substring. |
static java.lang.String |
join(java.lang.String[] array,
java.lang.String sep)
Joins all elements of an array into a string. |
static int |
length(java.lang.Object o)
Returns the number of items in a collection, or the number of characters in a string. |
static java.lang.String |
replace(java.lang.String input,
java.lang.String before,
java.lang.String after)
Returns a string resulting from replacing in an input string all occurrences of a "before" string into an "after" substring. |
static java.lang.String[] |
split(java.lang.String input,
java.lang.String seperator)
Splits a string into an array of substrings. |
static boolean |
startsWith(java.lang.String input,
java.lang.String prefix)
Tests if an input string starts with the specified prefix. |
static java.lang.String |
substring(java.lang.String input,
int begin,
int end)
Returns a subset of a string. |
static java.lang.String |
substringAfter(java.lang.String input,
java.lang.String sub)
Returns a subset of a string following a specific substring. |
static java.lang.String |
substringBefore(java.lang.String input,
java.lang.String sub)
Returns a subset of a string before a specific substring. |
static java.lang.String |
toLowerCase(java.lang.String input)
Converts all of the characters of a string to lower case. |
static java.lang.String |
toUpperCase(java.lang.String input)
Converts all of the characters of a string to upper case. |
static java.lang.String |
trim(java.lang.String input)
Removes white spaces from both ends of a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean contains(java.lang.String input, java.lang.String sub)
public static boolean containsIgnoreCase(java.lang.String input, java.lang.String sub)
public static boolean endsWith(java.lang.String input, java.lang.String suffix)
public static java.lang.String escapeXml(java.lang.String input)
public static int indexOf(java.lang.String input, java.lang.String sub)
public static java.lang.String join(java.lang.String[] array, java.lang.String sep)
public static int length(java.lang.Object o)
public static java.lang.String replace(java.lang.String input, java.lang.String before, java.lang.String after)
public static java.lang.String[] split(java.lang.String input, java.lang.String seperator)
public static boolean startsWith(java.lang.String input, java.lang.String prefix)
public static java.lang.String substring(java.lang.String input, int begin, int end)
public static java.lang.String substringAfter(java.lang.String input, java.lang.String sub)
public static java.lang.String substringBefore(java.lang.String input, java.lang.String sub)
public static java.lang.String toLowerCase(java.lang.String input)
public static java.lang.String toUpperCase(java.lang.String input)
public static java.lang.String trim(java.lang.String input)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |