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:
  • Felddetails

    • defaultShowName

      public static final String defaultShowName
      The standard name without extension of the supplementary files like index.txt, index.kml, index.timeLoc.
      Siehe auch:
    • filterSuffix

      static final String filterSuffix
      A show which does not contain all photos because the have been filtered should have a suffix in its name.
      Siehe auch:
    • showExt

      public static final String showExt
      The extension of shows in IrfanView format.
      Siehe auch:
  • Konstruktordetails

    • Show

      public Show()
  • Methodendetails

    • assertDayDir

      public static void assertDayDir(Path dayDirPath) throws de.zocher_regel.util.UtilException
      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

      public static Path defaultFilePath(Path dirPath)
      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

      public static String 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

      public static boolean isDayDir(String dayDirCand)
      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

      public abstract Path 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

      public abstract Path 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.UtilException
      Save 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.UtilException
      Save 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.