public class TextSearchCriteria extends SearchCriteria
Represents criteria allowing filtering by watermark text.
Constructor and Description |
---|
TextSearchCriteria(Pattern pattern)
Initializes a new instance of the
TextSearchCriteria class. |
TextSearchCriteria(String searchString)
Initializes a new instance of the
TextSearchCriteria class. |
TextSearchCriteria(String searchString,
boolean isMatchCase)
Initializes a new instance of the
TextSearchCriteria class. |
Modifier and Type | Method and Description |
---|---|
Pattern |
getPattern()
Gets the search pattern.
|
boolean |
getSkipUnreadableCharacters()
Gets a value indicating that unreadable characters will be skipped during string comparison.
|
void |
setSkipUnreadableCharacters(boolean value)
Sets a value indicating that unreadable characters will be skipped during string comparison.
|
and, not, or
public TextSearchCriteria(Pattern pattern)
Initializes a new instance of the TextSearchCriteria
class.
pattern
- The regular expression to match.public TextSearchCriteria(String searchString, boolean isMatchCase)
Initializes a new instance of the TextSearchCriteria
class.
searchString
- The exact string to search for.isMatchCase
- True indicates case-sensitive comparison,
false indicates case-insensitive comparison.public TextSearchCriteria(String searchString)
Initializes a new instance of the TextSearchCriteria
class.
searchString
- The exact string to search for.public final Pattern getPattern()
Gets the search pattern.
public final boolean getSkipUnreadableCharacters()
Gets a value indicating that unreadable characters will be skipped during string comparison.
public final void setSkipUnreadableCharacters(boolean value)
Sets a value indicating that unreadable characters will be skipped during string comparison.
value
- A value indicating that unreadable characters will be skipped during string comparison.Copyright © 2020. All rights reserved.