|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RbnfLenientScanner
Used by RBNF to leniently parse a string.
Method Summary | |
---|---|
boolean |
allIgnorable(String s)
Returns true if a string consists entirely of ignorable characters. |
int[] |
findText(String str,
String key,
int startingAt)
Searches a string for another string. |
int |
prefixLength(String str,
String prefix)
Matches characters in a string against a prefix and return the number of chars that matched, or 0 if no match. |
Method Detail |
---|
boolean allIgnorable(String s)
s
- The string to test
int prefixLength(String str, String prefix)
str
- The string being testedprefix
- The text we're hoping to see at the beginning of "str"
int[] findText(String str, String key, int startingAt)
str
- The string to searchkey
- The string to search "str" forstartingAt
- The index into "str" where the search is to
begin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |