Class ArchiveFileNamingFactory
- java.lang.Object
-
- dk.netarkivet.common.utils.SettingsFactory<ArchiveFileNaming>
-
- dk.netarkivet.harvester.harvesting.ArchiveFileNamingFactory
-
public class ArchiveFileNamingFactory extends SettingsFactory<ArchiveFileNaming>
Factory class for instantiating a specific implementation ofArchiveFileNaming
. The implementation class is defined by the setting settings.harvester.harvesting.heritrix.archiveNaming.class.
-
-
Constructor Summary
Constructors Constructor Description ArchiveFileNamingFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArchiveFileNaming
getInstance(Object... args)
Returns an instance of the defaultArchiveFileNaming
implementation defined by the setting settings.harvester.harvesting.heritrix.archiveNaming.class .-
Methods inherited from class dk.netarkivet.common.utils.SettingsFactory
getInstance
-
-
-
-
Method Detail
-
getInstance
public static ArchiveFileNaming getInstance(Object... args) throws ArgumentNotValid
Returns an instance of the defaultArchiveFileNaming
implementation defined by the setting settings.harvester.harvesting.heritrix.archiveNaming.class . This class must have a constructor or factory method with a signature matching the array args.- Parameters:
args
- the arguments to the constructor or factory method- Returns:
- the
ArchiveFileNaming
instance. - Throws:
ArgumentNotValid
- if the instance cannot be constructed.
-
-