|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.java.lang.StringHelper
public class StringHelper
| Constructor Summary | |
|---|---|
StringHelper()
|
|
| Method Summary | |
|---|---|
static int |
compareToIgnoreCase(java.lang.String strA,
java.lang.String strB)
|
static boolean |
contains(java.lang.String s,
java.lang.String cs)
Determines if this String contains the sequence of characters in the CharSequence passed. |
static int |
lastIndexOf(java.lang.String haystack,
java.lang.String needle)
Searches in this String for the last index of the specified string. |
static int |
lastIndexOf(java.lang.String haystack,
java.lang.String subString,
int start)
Searches in this String for the index of the specified string. |
static java.lang.String |
replaceAll(java.lang.String s1,
java.lang.String expr,
java.lang.String substitute)
Replace any substrings within this String that match the supplied regular expression expr, with the String substitute. |
static java.lang.String[] |
split(java.lang.String stringToSplit,
java.lang.String expr)
Replace any substrings within this String that match the supplied regular expression expr, with the String substitute. |
static java.lang.String[] |
split(java.lang.String stringToSplit,
java.lang.String expr,
int max)
Splits this String using the supplied regular expression expr. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringHelper()
| Method Detail |
|---|
public static int lastIndexOf(java.lang.String haystack,
java.lang.String needle)
string - the string to find
java.lang.NullPointerException - when string is null#lastIndexOf(int),
#lastIndexOf(int, int),
#lastIndexOf(String),
#lastIndexOf(String, int)
public static int lastIndexOf(java.lang.String haystack,
java.lang.String subString,
int start)
subString - the string to findstart - the starting offset
java.lang.NullPointerException - when string is null#lastIndexOf(int),
#lastIndexOf(int, int),
#lastIndexOf(String),
#lastIndexOf(String, int)
public static java.lang.String[] split(java.lang.String stringToSplit,
java.lang.String expr)
expr - the regular expression to match
java.lang.NullPointerException - if expr is null
public static java.lang.String[] split(java.lang.String stringToSplit,
java.lang.String expr,
int max)
expr - the regular expression used to divide the stringmax - the number of times to apply the pattern
java.lang.NullPointerException - if expr is null
public static java.lang.String replaceAll(java.lang.String s1,
java.lang.String expr,
java.lang.String substitute)
expr - the regular expression to matchsubstitute - the string to replace the matching substring with
java.lang.NullPointerException - if expr is null
public static boolean contains(java.lang.String s,
java.lang.String cs)
Determines if this String contains the sequence of characters in the CharSequence passed.
cs - The character sequence to search for.
true if the sequence of characters are contained in this object; otherwise false
public static int compareToIgnoreCase(java.lang.String strA,
java.lang.String strB)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||