Class DeletedFileFilter

  • All Implemented Interfaces:
    FileFilter

    public class DeletedFileFilter
    extends Object
    implements FileFilter
    A filter to return only those directories of a file listing that represent deleted jobs history directories, the names of which contain DELETED_MARKER.
    Author:
    Mirko Friedenhagen
    • Constructor Detail

      • DeletedFileFilter

        public DeletedFileFilter()
    • Method Detail

      • accepts

        public static boolean accepts​(File file)
        Is this item deleted?
        Parameters:
        file - to inspect
        Returns:
        true when file has the special deleted mark.
      • accepts

        public static boolean accepts​(String fileName)
        Is this item deleted?
        Parameters:
        fileName - to inspect
        Returns:
        true when fileName has the special deleted mark.