Class EASyModelFilter

java.lang.Object
de.uni_hildesheim.sse.easy.ant.modelcopy.EASyModelFilter
All Implemented Interfaces:
FileFilter, FilenameFilter, PathMatcher, org.apache.commons.io.file.PathFilter, org.apache.commons.io.filefilter.IOFileFilter

public class EASyModelFilter extends Object implements org.apache.commons.io.filefilter.IOFileFilter
Filter for collecting all relevant EASy-Producer model files in a given folder, considering sub folders.
Author:
El-Sharkawy
  • Field Details

    • EXTENSIONS_WHITELIST

      private static final Set<String> EXTENSIONS_WHITELIST
    • COPY_ALL_FILES

      private static final boolean COPY_ALL_FILES
      See Also:
  • Constructor Details

    • EASyModelFilter

      public EASyModelFilter()
  • Method Details

    • accept

      public boolean accept(File arg0, String arg1)
      Specified by:
      accept in interface FilenameFilter
      Specified by:
      accept in interface org.apache.commons.io.filefilter.IOFileFilter
    • accept

      public boolean accept(File arg0)
      Specified by:
      accept in interface FileFilter
      Specified by:
      accept in interface org.apache.commons.io.filefilter.IOFileFilter