public class StringSearcher
extends java.lang.Object
Constructor and Description |
---|
StringSearcher(java.lang.String pattern,
boolean caseSensitive,
boolean forwardDirection) |
StringSearcher(java.lang.String pattern,
boolean caseSensitive,
boolean forwardDirection,
boolean handleEscapeSequences) |
StringSearcher(java.lang.String pattern,
boolean caseSensitive,
boolean forwardDirection,
boolean handleEscapeSequences,
boolean lookForJavaIdentifiersOnlyIfPossible) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int [] |
findAllOccurrences(java.lang.CharSequence text) |
java.lang.String |
getPattern() |
int |
getPatternLength() |
int |
hashCode() |
boolean |
isCaseSensitive() |
boolean |
isHandleEscapeSequences() |
boolean |
isJavaIdentifier() |
boolean |
processOccurrences(java.lang.CharSequence text,
TIntProcedure consumer) |
int |
scan(java.lang.CharSequence text) |
int |
scan(java.lang.CharSequence text,
char [] textArray,
int _start,
int _end) |
int |
scan(java.lang.CharSequence text,
int _start,
int _end) |
java.lang.String |
toString() |
public StringSearcher(java.lang.String pattern, boolean caseSensitive, boolean forwardDirection)
public StringSearcher(java.lang.String pattern, boolean caseSensitive, boolean forwardDirection, boolean handleEscapeSequences)
public StringSearcher(java.lang.String pattern, boolean caseSensitive, boolean forwardDirection, boolean handleEscapeSequences, boolean lookForJavaIdentifiersOnlyIfPossible)
public int getPatternLength()
public java.lang.String getPattern()
public boolean isCaseSensitive()
public boolean isJavaIdentifier()
public boolean isHandleEscapeSequences()
public int scan(java.lang.CharSequence text)
public int scan(java.lang.CharSequence text, int _start, int _end)
public int [] findAllOccurrences(java.lang.CharSequence text)
public boolean processOccurrences(java.lang.CharSequence text, TIntProcedure consumer)
public int scan(java.lang.CharSequence text, char [] textArray, int _start, int _end)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object