/** * Constructor. * * @param metadata the metadata file * * @throws MetadataProviderException this exception is no longer thrown */ public FilesystemMetadataProvider(File metadata) throws MetadataProviderException { super(); setMetadataFile(metadata); }
/** * Constructor. * * @param metadata the metadata file * @param backgroundTaskTimer timer used to refresh metadata in the background * * @throws MetadataProviderException this exception is no longer thrown */ public FilesystemMetadataProvider(Timer backgroundTaskTimer, File metadata) throws MetadataProviderException { super(backgroundTaskTimer); setMetadataFile(metadata); }