Class FilesPlume.WildcardFilter

java.lang.Object
org.plumelib.util.FilesPlume.WildcardFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
FilesPlume

public static final class FilesPlume.WildcardFilter extends Object implements FilenameFilter
A FilenameFilter that accepts files whose name matches the given wildcard. The wildcard must contain exactly one "*".
  • Constructor Details

    • WildcardFilter

      public WildcardFilter(String wildcard)
      Create a filter that accepts files whose name matches the given wildcard.
      Parameters:
      wildcard - a string that must contain exactly one "*"
  • Method Details