Class FindCellsParameters


  • public class FindCellsParameters
    extends Object
    Container class for search parameters.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Field Detail

      • search

        public String search
        the search string.
      • caseSensitive

        public boolean caseSensitive
        whether the search is case-sensitive.
      • regExp

        public boolean regExp
        whether the search string is a regular expression.
      • pattern

        public Pattern pattern
        the compiled regexp pattern.
    • Constructor Detail

      • FindCellsParameters

        public FindCellsParameters​(String search)
        Initializes the iterator. Case-insensitive search, no regexp.
        Parameters:
        search - the search string
      • FindCellsParameters

        public FindCellsParameters​(String search,
                                   boolean caseSensitive,
                                   boolean regExp)
        Initializes the iterator.
        Parameters:
        search - the search string
        caseSensitive - whether search is case-sensitive (ignored when using regexp)
        regExp - whether the search string is a regular expression