com.groupdocs.watermark.search

Interfaces

Classes

com.groupdocs.watermark.search

Class TextSearchCriteria



  • public class TextSearchCriteria
    extends SearchCriteria

    Represents criteria allowing filtering by watermark text.

    • Constructor Detail

      • TextSearchCriteria

        public TextSearchCriteria(Pattern pattern)

        Initializes a new instance of the TextSearchCriteria class.

        Parameters:
        pattern - The regular expression to match.
      • TextSearchCriteria

        public TextSearchCriteria(String searchString,
                          boolean isMatchCase)

        Initializes a new instance of the TextSearchCriteria class.

        Parameters:
        searchString - The exact string to search for.
        isMatchCase - True indicates case-sensitive comparison, false indicates case-insensitive comparison.
      • TextSearchCriteria

        public TextSearchCriteria(String searchString)

        Initializes a new instance of the TextSearchCriteria class.

        Parameters:
        searchString - The exact string to search for.
    • Method Detail

      • getPattern

        public final Pattern getPattern()

        Gets the search pattern.

        Returns:
        The regular expression pattern to match.
      • getSkipUnreadableCharacters

        public final boolean getSkipUnreadableCharacters()

        Gets a value indicating that unreadable characters will be skipped during string comparison.

        Returns:
        A value indicating that unreadable characters will be skipped during string comparison.
      • setSkipUnreadableCharacters

        public final void setSkipUnreadableCharacters(boolean value)

        Sets a value indicating that unreadable characters will be skipped during string comparison.

        Parameters:
        value - A value indicating that unreadable characters will be skipped during string comparison.