public interface ContentFilter
extends java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a copy of this object, with all interface method behaving exactly as the original instance.
|
java.util.regex.Pattern |
getContentPatternAsRegex()
Returns the filter criteria as a java regex Pattern object.
|
java.lang.String |
getSearchStringContent()
Returns the litteral content pattern.
|
java.util.regex.Pattern getContentPatternAsRegex()
java.lang.String getSearchStringContent()
getContentPatternAsRegex()
should be called to retreive the actual regular expression pattern. However, if this method
(getSearchStringContent()
) returns the empty string, then getContentPatternAsRegex()
returns a Pattern that accepts any input (.*).java.lang.Object clone()