dk.netarkivet.harvester.harvesting
Class ArchiveFileNamingFactory

java.lang.Object
  extended by dk.netarkivet.common.utils.SettingsFactory<ArchiveFileNaming>
      extended by dk.netarkivet.harvester.harvesting.ArchiveFileNamingFactory

public class ArchiveFileNamingFactory
extends SettingsFactory<ArchiveFileNaming>

Factory class for instantiating a specific implementation of ArchiveFileNaming. The implementation class is defined by the setting settings.harvester.harvesting.heritrix.archiveNaming.class.


Constructor Summary
ArchiveFileNamingFactory()
           
 
Method Summary
static ArchiveFileNaming getInstance(java.lang.Object... args)
          Returns an instance of the default ArchiveFileNaming implementation defined by the setting settings.harvester.harvesting.heritrix.archiveNaming.class .
 
Methods inherited from class dk.netarkivet.common.utils.SettingsFactory
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveFileNamingFactory

public ArchiveFileNamingFactory()
Method Detail

getInstance

public static ArchiveFileNaming getInstance(java.lang.Object... args)
                                     throws ArgumentNotValid
Returns an instance of the default ArchiveFileNaming 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.