Interface FileDate

All Known Implementing Classes:
StandardFileDate

public interface FileDate
Extract file dates from the file name

Should be possible to make many different implementations of this for handling different file name formats.

Author:
Doug Gillespie
  • Method Details

    • getTimeFromFile

      long getTimeFromFile(File file)
      Get a time in milliseconds from a file date.
      Parameters:
      file - file
      Returns:
      time in milliseconds or 0 if can't work it out.
    • hasSettings

      boolean hasSettings()
      True if the file date subclass has associated settings
      Returns:
      true if it has settings
    • doSettings

      boolean doSettings(Window parent)
    • doSettings

      FileDatePane doSettings()
      Get the JavaFX settings pane for the file date.
      Returns:
      the settings pane or null if there are no settings.
    • getName

      String getName()
      Get the name of the file date implementation.
      Returns:
      the name of the file date implementation.
    • getDescription

      String getDescription()
      Get a description of the file date implementation.
      Returns:
      a description of the file date implementation.
    • getFormat

      String getFormat()