Class FileChartCountParser

java.lang.Object
be.gaudry.model.file.AbstractFileParser<Long>
be.gaudry.model.file.parser.FileChartCountParser
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class FileChartCountParser extends AbstractFileParser<Long>
File parser, returns the count of sub files
Since:
1.0 Sep 21, 2009
Author:
Steph GAUDRY
  • Constructor Details

    • FileChartCountParser

      public FileChartCountParser()
  • Method Details

    • performOnFile

      protected boolean performOnFile(AbstractBrolWorker<Long> bgw, File file, int progressPercent, int subDirDeep)
      Description copied from class: AbstractFileParser
      Do something on each file
      Specified by:
      performOnFile in class AbstractFileParser<Long>
      Parameters:
      bgw - AbstractBrolWorker to perform cancel if needed, and report progress
      file - file to check
      progressPercent - Progress percentage
      subDirDeep - Deep of the directory in comparison with start directory
      Returns:
      true if we must stop the parsing of current directory (ie. if we have a vob file, we don't check the other files in this directory) false otherwise