java.lang.Object
de.zocher_regel.util.copy.AbstractCopier
de.zocher_regel.photo.Unloader
- Alle implementierten Schnittstellen:
Runnable
public final class Unloader
extends de.zocher_regel.util.copy.AbstractCopier
Unload file from camera to day directory.
Example: F:\DCIM\nnnn\YY.JPG, last modified at 2019-12-10,
is copied to D:\Fotos\2019\Canon\2019-12-10.
A unloadPrefix IMG_, VID_ is omitted,
so that other photos can be inserted.
-
Feldübersicht
Von Klasse geerbte Felder de.zocher_regel.util.copy.AbstractCopier
count, sourceDirPath, targetDirPath -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden de.zocher_regel.util.copy.AbstractCopier
appendQualFileName, setFromTxt, setToTxt, sourceTargetOverlap
-
Konstruktordetails
-
Unloader
Create Unloader. Compute date after last unloading from existing day directories.- Parameter:
sourceDirPath- typically directory on camera chip (DCIM)targetDirPath- the directory where the day directories are to be created in.- Löst aus:
PhotoException- if the date of last unloading cannot be determined.de.zocher_regel.util.UtilException
-
-
Methodendetails
-
copy
Copy from camera to local computer into directory of the day, which is created if missing.- Setzt außer Kraft:
copyin Klassede.zocher_regel.util.copy.AbstractCopier- Parameter:
sourceFile- to be copied- Löst aus:
PhotoException- if the target path (the day directory) cannot be determinedde.zocher_regel.util.UtilException
-
getTargetFilePath
- Angegeben von:
getTargetFilePathin Klassede.zocher_regel.util.copy.AbstractCopier- Löst aus:
de.zocher_regel.util.UtilException
-
run
public void run()Unload and ask the user to rename the directory just created. If wanted, create the default show and exifs in the target directory as well. This method is called by constructor only.
-