Class PhotoByDateRenamer<T>
java.lang.Object
be.gaudry.model.file.renamer.parsers.AbstractFileParser<T>
be.gaudry.model.file.renamer.parsers.AbstractPhotoMetaParser<T>
be.gaudry.model.file.renamer.parsers.PhotoByDateRenamer<T>
- Since:
- 1.0 Sept 03, 2008
- Author:
- Steph GAUDRY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanrename(AbstractBrolWorker<T> bgw, File file, int percent)voidsetDateFormat(PhotoDateFormat dateFormat)voidsetDateType(PhotoDateType dateType)voidsetInsertDefaultMeta(boolean insertDefaultMeta)voidvoidvoidsetTimezone(PhotoZone timezone)Methods inherited from class be.gaudry.model.file.renamer.parsers.AbstractPhotoMetaParser
doAfterParsing, getExifToolMethods inherited from class be.gaudry.model.file.renamer.parsers.AbstractFileParser
addFile, clearFiles, doBeforeParsing, getPercent, getProgressMax, isTestOnly, rename, setTestOnly
-
Constructor Details
-
PhotoByDateRenamer
public PhotoByDateRenamer()
-
-
Method Details
-
setPrefix
- Parameters:
prefix- the prefix to set
-
setSuffix
- Parameters:
suffix- the suffix to set
-
setDateType
- Parameters:
dateType- the dateType to set
-
setDateFormat
- Parameters:
dateFormat- the dateFormat to set
-
setTimezone
- Parameters:
timezone- the timezone to set
-
rename
- Specified by:
renamein classAbstractFileParser<T>- Parameters:
bgw-AbstractBrolWorkerto perform cancel if needed, and report progressfile- file to checkpercent- Progress percentage- Returns:
- true if we must stop the parsing of current directory, false otherwise
-
setInsertDefaultMeta
public void setInsertDefaultMeta(boolean insertDefaultMeta)
-