Package Acquisition.filedate
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 Summary
Modifier and TypeMethodDescriptionGet the JavaFX settings pane for the file date.booleandoSettings(Window parent) Get a description of the file date implementation.getName()Get the name of the file date implementation.longgetTimeFromFile(File file) Get a time in milliseconds from a file date.booleanTrue if the file date subclass has associated settings 
- 
Method Details
- 
getTimeFromFile
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
 - 
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() 
 -