Class FileFilter


  • public class FileFilter
    extends java.lang.Object
    Author:
    Stuart Douglas, Alexey Loubyansky
    • Constructor Summary

      Constructors 
      Constructor Description
      FileFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getPattern()  
      int hashCode()  
      boolean isInclude()  
      boolean matches​(java.lang.String filePath)
      Returns true if the file matches the regular expression
      void setInclude()  
      void setPatternString​(java.lang.String patternString)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FileFilter

        public FileFilter()
    • Method Detail

      • setPatternString

        public void setPatternString​(java.lang.String patternString)
      • setInclude

        public void setInclude()
      • getPattern

        public java.lang.String getPattern()
      • matches

        public boolean matches​(java.lang.String filePath)
        Returns true if the file matches the regular expression
      • isInclude

        public boolean isInclude()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object