Class PhotoByDateRenamer<T>


public class PhotoByDateRenamer<T> extends AbstractPhotoMetaParser<T>
Since:
1.0 Sept 03, 2008
Author:
Steph GAUDRY
  • Constructor Details

    • PhotoByDateRenamer

      public PhotoByDateRenamer()
  • Method Details

    • setPrefix

      public void setPrefix(String prefix)
      Parameters:
      prefix - the prefix to set
    • setSuffix

      public void setSuffix(String suffix)
      Parameters:
      suffix - the suffix to set
    • setDateType

      public void setDateType(PhotoDateType dateType)
      Parameters:
      dateType - the dateType to set
    • setDateFormat

      public void setDateFormat(PhotoDateFormat dateFormat)
      Parameters:
      dateFormat - the dateFormat to set
    • setTimezone

      public void setTimezone(PhotoZone timezone)
      Parameters:
      timezone - the timezone to set
    • rename

      protected boolean rename(AbstractBrolWorker<T> bgw, File file, int percent)
      Specified by:
      rename in class AbstractFileParser<T>
      Parameters:
      bgw - AbstractBrolWorker to perform cancel if needed, and report progress
      file - file to check
      percent - Progress percentage
      Returns:
      true if we must stop the parsing of current directory, false otherwise
    • setInsertDefaultMeta

      public void setInsertDefaultMeta(boolean insertDefaultMeta)