Class WildcardClassNameMatcher

  • All Implemented Interfaces:
    ClassNameMatcher

    public final class WildcardClassNameMatcher
    extends java.lang.Object
    implements ClassNameMatcher
    A ClassNameMatcher that uses simplified regular expressions provided by org.apache.commons.io.FilenameUtils.wildcardMatch(String, String)

    This object is immutable and thread-safe.

    This class is extracted from Apache commons-io project
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String pattern  
    • Constructor Summary

      Constructors 
      Constructor Description
      WildcardClassNameMatcher​(java.lang.String pattern)
      Constructs an object based on the specified simplified regular expression.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(java.lang.String className)
      Returns true if the supplied class name matches this object's condition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait