public class IndexPattern
extends java.lang.Object
IndexPatternProvider.getIndexPatterns()
Constructor and Description |
---|
IndexPattern(java.lang.String patternString,
boolean caseSensitive)
Creates an instance of an index pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.regex.Pattern |
getOptimizedIndexingPattern() |
java.util.regex.Pattern |
getPattern() |
java.lang.String |
getPatternString() |
int |
hashCode() |
boolean |
isCaseSensitive() |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setPatternString(java.lang.String patternString) |
public IndexPattern(java.lang.String patternString, boolean caseSensitive)
patternString
- the text of the Java regular expression to match.caseSensitive
- whether the regular expression should be case-sensitive.public java.lang.String getPatternString()
public java.util.regex.Pattern getPattern()
public java.util.regex.Pattern getOptimizedIndexingPattern()
public boolean isCaseSensitive()
public void setPatternString(java.lang.String patternString)
public void setCaseSensitive(boolean caseSensitive)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object