Klasse Filters

java.lang.Object
de.zocher_regel.photo.Filters

public final class Filters extends Object
This class contains some useful FilenameFilter instances and a class. A FilenameFilter filled from a directory or show of selected photos. All features of this class are static.
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static final class 
    A filtername filter consisting of the set of all all photos of an Irfanview show or a directory.
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final FilenameFilter
    Instance for extension "ctg".
    static final Pattern
    Instance for typical filenames on the camera chip containing a date, like "IMG_20230129_144126.jpg".
    static final Pattern
    Instance for filenames like "2024-09-30 the day I wrote this example.jpg".
    (Package privat) static final Pattern
    Instance for photos that have been enhanced (e. g. "1234autocorrected").
    static final String
    Externsion of EXIF files.
    static final FilenameFilter
    Instance for *.exif files which have been extracted from JPG by Irfanview.
    static final FilenameFilter
    Instance for *.exif files which have be extracted from original JPG and not from an enhanced version of it.
    (Package privat) static final javafx.stage.FileChooser.ExtensionFilter
    Instance to choose files with GPS info like *.kml (Google Earth) and *.gpx .
    (Package privat) static final javafx.stage.FileChooser.ExtensionFilter
    Instance to choose Irfanview show files (*.txt).
    static final de.zocher_regel.util.ExtensionIgnCaseFilenameFilter
    Instance for JPEG files (*.jpg, *.jpeg, *.JPG, ...).
    static final de.zocher_regel.util.ExtensionIgnCaseFilenameFilter
    Instance for photos (raw or jpg) and films.
    static final Filters.ShowFilter
    Singleton instance of ShowFilter.
    (Package privat) static final FilenameFilter
    Instance for *.txt .
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    (Package privat) static void
    fillShowFilter(Optional<Path> filterPathOpt)
    Fills the singleton of ShowFilter
    (Package privat) static void
    List the content of the ShowFilter singleton.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • ctgFilter

      public static final FilenameFilter ctgFilter
      Instance for extension "ctg".
    • datePattern

      public static final Pattern datePattern
      Instance for typical filenames on the camera chip containing a date, like "IMG_20230129_144126.jpg".
    • dayPattern

      public static final Pattern dayPattern
      Instance for filenames like "2024-09-30 the day I wrote this example.jpg".
    • editedPattern

      static final Pattern editedPattern
      Instance for photos that have been enhanced (e. g. "1234autocorrected"). After the photo number follows a comment in small caps.
    • exifExtension

      public static final String exifExtension
      Externsion of EXIF files.
      Siehe auch:
    • exifFilter

      public static final FilenameFilter exifFilter
      Instance for *.exif files which have been extracted from JPG by Irfanview.
    • exifFilterBase

      public static final FilenameFilter exifFilterBase
      Instance for *.exif files which have be extracted from original JPG and not from an enhanced version of it.
    • gpsFcExtFilter

      static final javafx.stage.FileChooser.ExtensionFilter gpsFcExtFilter
      Instance to choose files with GPS info like *.kml (Google Earth) and *.gpx .
    • irfanviewFcExtFilter

      static final javafx.stage.FileChooser.ExtensionFilter irfanviewFcExtFilter
      Instance to choose Irfanview show files (*.txt).
    • jpgFilter

      public static final de.zocher_regel.util.ExtensionIgnCaseFilenameFilter jpgFilter
      Instance for JPEG files (*.jpg, *.jpeg, *.JPG, ...).
    • mediumExtFilter

      public static final de.zocher_regel.util.ExtensionIgnCaseFilenameFilter mediumExtFilter
      Instance for photos (raw or jpg) and films.
    • showFilter

      public static final Filters.ShowFilter showFilter
      Singleton instance of ShowFilter.
    • txtFilter

      static final FilenameFilter txtFilter
      Instance for *.txt .
  • Methodendetails

    • fillShowFilter

      static void fillShowFilter(Optional<Path> filterPathOpt) throws de.zocher_regel.util.UtilException
      Fills the singleton of ShowFilter
      Parameter:
      filterPathOpt - either an Irfanview show (*.txt) or a directory with photos.
      Löst aus:
      de.zocher_regel.util.UtilException - if the text show from which the filter is filled has an error
    • listShowFilter

      static void listShowFilter()
      List the content of the ShowFilter singleton.