java.lang.Object
- Alle implementierten Schnittstellen:
Serializable,Cloneable,Iterable<ShowRec>,Collection<ShowRec>,Deque<ShowRec>,List<ShowRec>,Queue<ShowRec>,SequencedCollection<ShowRec>
- Bekannte direkte Unterklassen:
RangeShow,RecursiveShow,SingleShow,TxtShow
public abstract sealed class Show
extends LinkedList<ShowRec>
permits RangeShow, SingleShow, TxtShow, RecursiveShow
This is a special Linked list.
This class is a special LinkedList, to which records may be added by the add
method of the linked list.
Each entry consists of an absolute path of a media file (jpg, jpeg, mp4,
...).
Subclasses allow to fill this list from other sources like text files,
of directories etc.
The show may be saved as a text file.
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringThe standard name without extension of the supplementary files like index.txt, index.kml, index.timeLoc.(Package privat) static final StringA show which does not contain all photos because the have been filtered should have a suffix in its name.static final StringThe extension of shows in IrfanView format.Von Klasse geerbte Felder java.util.AbstractList
modCount -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidassertDayDir(Path dayDirPath) Assert that the show given as parameter is a day directory (yyyy-MM-dd .*) and contains photos.static PathdefaultFilePath(Path dirPath) The qualified name of the default show in a day directory.abstract PathdirPath()The directory where the photos reside.abstract PathfilePath()A show is saved in a file.static StringThe default name of the show (e. g. index.txt).static booleanA show has been created either from a directory or from a text file.voidsave()Save the show as file with extension txt.voidSave the show and write statitics.intCount the lines except comment lines, dir lines and txt lines.voidupdate()Are there better variants (files) of photos which are already in this show?voidFor every member of the show, read the EXIF data in the following comments and update the photo.Von Klasse geerbte Methoden java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, reversed, set, size, spliterator, toArray, toArrayVon Klasse geerbte Methoden java.util.AbstractSequentialList
iteratorVon Klasse geerbte Methoden java.util.AbstractList
equals, hashCode, listIterator, removeRange, subListVon Klasse geerbte Methoden java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toStringVon Klasse geerbte Methoden java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, removeIf, stream, toArrayVon Schnittstelle geerbte Methoden java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
Felddetails
-
defaultShowName
The standard name without extension of the supplementary files like index.txt, index.kml, index.timeLoc.- Siehe auch:
-
filterSuffix
A show which does not contain all photos because the have been filtered should have a suffix in its name.- Siehe auch:
-
showExt
The extension of shows in IrfanView format.- Siehe auch:
-
-
Konstruktordetails
-
Show
public Show()
-
-
Methodendetails
-
assertDayDir
Assert that the show given as parameter is a day directory (yyyy-MM-dd .*) and contains photos.- Parameter:
dayDirPath- the path to be checked- Löst aus:
de.zocher_regel.util.UtilException- if the path does not exist, is not a directory or is empty
-
defaultFilePath
The qualified name of the default show in a day directory.- Parameter:
dirPath- of the directory- Gibt zurück:
- the Path of the directory with the default name of the default show file
-
getDefaultShowNameExt
The default name of the show (e. g. index.txt). If a filter has been set, a suffix for indicating this is added to the filename.- Gibt zurück:
- the default name
-
isDayDir
A show has been created either from a directory or from a text file.- Parameter:
dayDirCand- the name of the dayDir to be checked (yyyy-MM-dd .*)- Gibt zurück:
- if this show has been created from a day directory
-
dirPath
The directory where the photos reside. This may be the directory of the filePath or its parent directory.- Gibt zurück:
- the directoy of the photos
-
filePath
A show is saved in a file.- Gibt zurück:
- the file where the show is to be saved
-
save
public void save() throws de.zocher_regel.util.UtilExceptionSave the show as file with extension txt. If the show is from a directory, add .txt to the directory name, else the show must have been created from a .txt file whose name rmains.- Löst aus:
de.zocher_regel.util.UtilException- if saving failed
-
saveAndCount
public void saveAndCount() throws de.zocher_regel.util.UtilExceptionSave the show and write statitics.- Löst aus:
de.zocher_regel.util.UtilException- if the show could not be saved
-
sizeWithoutComments
public int sizeWithoutComments()Count the lines except comment lines, dir lines and txt lines.- Gibt zurück:
- the number of lines
-
update
public void update()Are there better variants (files) of photos which are already in this show? -
updateExifInPhotos
public void updateExifInPhotos()For every member of the show, read the EXIF data in the following comments and update the photo. Example: D:\Fotos\2025\Canon\2025-03-04 Söhrer Forsthaus\6274.JPG ;-ImageDescription=Forsthaus ;-GPSLatitude=52.0906442 ;-GPSLongitude=9.9612904 If the option MenuUnloadExif is set, EXIF files of changed photos are extracted.
-