|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kemet.toolbox.Search
public class Search
items search
Constructor Summary | |
---|---|
Search()
|
Method Summary | |
---|---|
static int |
countSequence(java.lang.String s,
java.lang.String str)
count number of time a sequence is find in a string. |
static java.util.regex.Matcher |
getMatch()
return the match value. |
static boolean |
isContainsNoAlphaNumericCaracters(java.lang.String str)
string contain no alpha numeric caracters ? |
static boolean |
valueExist(java.lang.String[] s,
java.lang.String[] s2)
search for each item of "s" array, if is found in "s2" array. |
static boolean |
valueExist(java.lang.String s,
java.lang.String[] s2)
search for "s" string, if is found in "s2" array. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Search()
Method Detail |
---|
public static boolean valueExist(java.lang.String[] s, java.lang.String[] s2)
search for each item of "s" array, if is found in "s2" array.
s
- reference array of strings2
- array of string for search
public static boolean valueExist(java.lang.String s, java.lang.String[] s2)
search for "s" string, if is found in "s2" array.
*
s
- reference array of strings2
- array of string for search
public static boolean isContainsNoAlphaNumericCaracters(java.lang.String str)
string contain no alpha numeric caracters ?
str
- reference string
public static int countSequence(java.lang.String s, java.lang.String str)
count number of time a sequence is find in a string.
s
- sequencestr
- string to analyze
public static java.util.regex.Matcher getMatch()
return the match value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |