Class WildcardClassNameMatcher

java.lang.Object
org.apache.commons.io.serialization.WildcardClassNameMatcher
All Implemented Interfaces:
ClassNameMatcher

final class WildcardClassNameMatcher extends Object implements ClassNameMatcher
A ClassNameMatcher that uses simplified regular expressions provided by FilenameUtils.wildcardMatch

This object is immutable and thread-safe.

  • Field Details

    • pattern

      private final String pattern
  • Constructor Details

  • Method Details

    • matches

      public boolean matches(String className)
      Description copied from interface: ClassNameMatcher
      Returns true if the supplied class name matches this object's condition.
      Specified by:
      matches in interface ClassNameMatcher
      Parameters:
      className - fully qualified class name
      Returns:
      true if the class name matches this object's condition