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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
rename(AbstractBrolWorker<T> bgw, File file, int percent)
void
setDateFormat(PhotoDateFormat dateFormat)
void
setDateType(PhotoDateType dateType)
void
setInsertDefaultMeta(boolean insertDefaultMeta)
void
void
void
setTimezone(PhotoZone timezone)
Methods inherited from class be.gaudry.model.file.renamer.parsers.AbstractPhotoMetaParser
doAfterParsing, getExifTool
Methods 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:
rename
in classAbstractFileParser<T>
- Parameters:
bgw
-AbstractBrolWorker
to 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)
-