- Alle implementierten Schnittstellen:
Serializable,Comparable<ExifExtractorToolEnum>,Constable
An external program (IrfanView, Exiftool) is used to extract the exif
information from the photo.
Exiftool is preferred, because it accepts many file types and is faster.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum-Konstanten - Übersicht
Enum-Konstanten -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung(Package privat) intNot used.static ExifExtractorToolEnumSelect the preferred available ExifExtractionTool.(Package privat) booleanDefault method: no extraction tool has been installedbooleanAdd the information found in an EXIF file to a photo file.static ExifExtractorToolEnumGibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static ExifExtractorToolEnum[]values()Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
Exiftool
The most common used tool for EXIF extracting. -
IrfanView
If Exiftool is not available, IrfanView can substitute it. -
Unknown
The extractor which shall be used is determined automatically by availability.
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-
getInstance
Select the preferred available ExifExtractionTool.- Gibt zurück:
- if the extraction tool has been changed.
- Löst aus:
de.zocher_regel.util.UtilException- if no extraction tool is invalid or has been installed
-
extract
Not used.- Parameter:
showRec- contains the info of the photo where the EXIF info has to extracted from- Gibt zurück:
- returnCode, 0 == ok
- Löst aus:
de.zocher_regel.util.UtilException- in case of error
-
isInstalled
boolean isInstalled()Default method: no extraction tool has been installed- Gibt zurück:
- if the extraction tool has been installed.
-
update
public boolean update(ShowRec showRec, List<ShowRec> optionList) throws de.zocher_regel.util.UtilException Add the information found in an EXIF file to a photo file. Only exiftool can edit the photo file; it has not been implemented by IrfanView.- Parameter:
showRec- qualified path of the photo file "D:\Fotos\2024\Canon\2024-12-08 XYZ\1235.jpg"optionList- of Exiftool options like ";-GPSLatitude=52.074718", if the tag is missing, "ImageDescription" is assumed as default. GPSLatitude, GPSLongitude, ImageDescription may be abbreviated La, Lo, I.- Gibt zurück:
- if the tool has been installed
- Löst aus:
de.zocher_regel.util.UtilException- if the function has not been implemented or something else has gone wrong.
-