|
|||||||||
| Home >> All >> org >> jext >> [ search overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jext.search
Class LiteralSearchMatcher

java.lang.Objectorg.jext.search.LiteralSearchMatcher
- public class LiteralSearchMatcher
- extends java.lang.Object
| Field Summary | |
private boolean |
ignoreCase
|
private java.lang.String |
replace
|
private char[] |
search
|
| Constructor Summary | |
LiteralSearchMatcher(java.lang.String search,
java.lang.String replace,
boolean ignoreCase)
Creates a new string literal matcher. |
|
| Method Summary | |
int[] |
nextMatch(java.lang.String text)
Returns the offset of the first match of the specified text within this matcher. |
int[] |
nextMatch(java.lang.String text,
int index)
|
java.lang.String |
substitute(java.lang.String text)
Returns the specified text, with any substitution specified within this matcher performed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
search
private char[] search
replace
private java.lang.String replace
ignoreCase
private boolean ignoreCase
| Constructor Detail |
LiteralSearchMatcher
public LiteralSearchMatcher(java.lang.String search, java.lang.String replace, boolean ignoreCase)
- Creates a new string literal matcher.
| Method Detail |
nextMatch
public int[] nextMatch(java.lang.String text)
- Returns the offset of the first match of the specified text
within this matcher.
nextMatch
public int[] nextMatch(java.lang.String text, int index)
substitute
public java.lang.String substitute(java.lang.String text)
- Returns the specified text, with any substitution specified
within this matcher performed.
|
|||||||||
| Home >> All >> org >> jext >> [ search overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jext.search.LiteralSearchMatcher