Class RegexFilter<T,​E>

    • Constructor Detail

      • RegexFilter

        public RegexFilter()
        Default constructor (necessary for the ExternalizableLite interface).
      • RegexFilter

        public RegexFilter​(ValueExtractor<? super T,​? extends E> extractor,
                           String sRegex)
        Construct a RegexFilter for testing pattern matching.
        Parameters:
        extractor - the ValueExtractor to use by this filter
        sRegex - the regular expression to match the result with
      • RegexFilter

        public RegexFilter​(String sMethod,
                           String sRegex)
        Construct a RegexFilter for testing pattern matching.
        Parameters:
        sMethod - the name of the method to invoke via reflection
        sRegex - the regular expression to match the result with