Class ParameterizedFileFilter

java.lang.Object
com.acanx.utils.file.filter.ParameterizedFileFilter
All Implemented Interfaces:
FileFilter

@Alpha public class ParameterizedFileFilter extends Object implements FileFilter
ParameterizedFileFilter 通用文件过滤器
Since:
0.0.1.10
  • Constructor Details

    • ParameterizedFileFilter

      public ParameterizedFileFilter(String fileNameSuffix)
      构造函数
      Parameters:
      fileNameSuffix - 文件扩展名
  • Method Details

    • accept

      public boolean accept(File pathname)
      Tests whether or not the specified abstract pathname should be included in a pathname list.
      Specified by:
      accept in interface FileFilter
      Parameters:
      pathname - The abstract pathname to be tested
      Returns:
      true if and only if pathname should be included