Class UtilPlume.WildcardFilter

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

@Deprecated public static final class UtilPlume.WildcardFilter extends Object implements FilenameFilter
Deprecated.
A FilenameFilter that accepts files whose name matches the given wildcard. The wildcard must contain exactly one "*".
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) String
    Deprecated.
    The text before the wildcard.
    (package private) String
    Deprecated.
    The text after the wildcard.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Create a filter that accepts files whose name matches the given wildcard.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(File dir, String name)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • prefix

      String prefix
      Deprecated.
      The text before the wildcard.
    • suffix

      String suffix
      Deprecated.
      The text after the wildcard.
  • Constructor Details

    • WildcardFilter

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