Class CompositeMFileFilter

  • All Implemented Interfaces:
    MFileFilter

    public class CompositeMFileFilter
    extends Object
    implements MFileFilter
    Composite of MFileFilter Used by DatasetScan, FMRC, ?
    Since:
    Jul 8, 2009
    • Constructor Detail

      • CompositeMFileFilter

        public CompositeMFileFilter()
    • Method Detail

      • addFilter

        public void addFilter​(MFileFilter filter,
                              boolean include)
      • addIncludeFilter

        public void addIncludeFilter​(MFileFilter filter)
      • addExcludeFilter

        public void addExcludeFilter​(MFileFilter filter)
      • addAndFilter

        public void addAndFilter​(MFileFilter filter)
      • accept

        public boolean accept​(MFile mfile)
        Description copied from interface: MFileFilter
        Tests if a specified MFile should be included in a file collection.
        Specified by:
        accept in interface MFileFilter
        Parameters:
        mfile - the MFile
        Returns:
        true if the mfile should be included in the file collection; false otherwise.