类 SuffixFilter

java.lang.Object
com.thoughtworks.qdox.directorywalker.SuffixFilter
所有已实现的接口:
Filter

public class SuffixFilter extends Object implements Filter
A file filter based on its suffix
  • 构造器详细资料

    • SuffixFilter

      public SuffixFilter(String suffixFilter)
      参数:
      suffixFilter - the suffix which will be matched for every file, must not be null
  • 方法详细资料

    • filter

      public boolean filter(File file)
      指定者:
      filter 在接口中 Filter
      参数:
      file - the file to filter
      返回:
      true if the file ends with the specified suffix, otherwise false