Class RegexFileFilter

  • All Implemented Interfaces:
    java.io.FileFilter

    public class RegexFileFilter
    extends java.lang.Object
    implements java.io.FileFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      RegexFileFilter​(java.lang.String filenameRegex)  
      RegexFileFilter​(java.lang.String absolutePathRegex, java.lang.String filenameRegex)  
      RegexFileFilter​(java.util.regex.Pattern nameRegex)  
      RegexFileFilter​(java.util.regex.Pattern absolutePathRegex, java.util.regex.Pattern filenameRegex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.io.File f)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegexFileFilter

        public RegexFileFilter​(java.util.regex.Pattern absolutePathRegex,
                               java.util.regex.Pattern filenameRegex)
      • RegexFileFilter

        public RegexFileFilter​(java.lang.String absolutePathRegex,
                               java.lang.String filenameRegex)
      • RegexFileFilter

        public RegexFileFilter​(java.util.regex.Pattern nameRegex)
      • RegexFileFilter

        public RegexFileFilter​(java.lang.String filenameRegex)
    • Method Detail

      • accept

        public boolean accept​(java.io.File f)
        Specified by:
        accept in interface java.io.FileFilter