|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jasen.util.TextUtils
General text-related utility functions.
| Constructor Summary | |
TextUtils()
|
|
| Method Summary | |
static int |
countChars(String str,
char chr)
Counts the number of given characters in the given string |
static boolean |
matchKeyword(String[] keywords,
String content)
Matches a single keyword in a blob of text. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextUtils()
| Method Detail |
public static boolean matchKeyword(String[] keywords,
String content)
This is simply a convenience method and is used by the KeywordScanner
keywords - content -
KeywordScanner
public static int countChars(String str,
char chr)
str - chr -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||