org.springframework.core.type.filter

Class RegexPatternTypeFilter

  • All Implemented Interfaces:
    TypeFilter


    public class RegexPatternTypeFilter
    extends AbstractClassTestingTypeFilter
    A simple filter for matching a fully-qualified class name with a regex Pattern.
    Since:
    2.5
    Author:
    Mark Fisher, Juergen Hoeller
    • Constructor Summary

      Constructors 
      Constructor and Description
      RegexPatternTypeFilter(java.util.regex.Pattern pattern) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected boolean match(ClassMetadata metadata)
      Determine a match based on the given ClassMetadata object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegexPatternTypeFilter

        public RegexPatternTypeFilter(java.util.regex.Pattern pattern)