jetbrains.buildServer.util
Class FileUtil.RegexFileFilter

java.lang.Object
  extended by jetbrains.buildServer.util.FileUtil.RegexFileFilter
All Implemented Interfaces:
java.io.FileFilter
Enclosing class:
FileUtil

public static class FileUtil.RegexFileFilter
extends java.lang.Object
implements java.io.FileFilter

File filter that accepts files with the name specified by a regular expression.


Constructor Summary
FileUtil.RegexFileFilter(java.lang.String pattern)
          Specifies the regular expression to filter files.
 
Method Summary
 boolean accept(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil.RegexFileFilter

public FileUtil.RegexFileFilter(@NotNull
                                java.lang.String pattern)
Specifies the regular expression to filter files.

Parameters:
pattern - the regular expression, case insensitive.
Method Detail

accept

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