Class 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 Detail

      • ArchiveFileNamingFactory

        public ArchiveFileNamingFactory()
    • Method Detail

      • getInstance

        public static ArchiveFileNaming getInstance​(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.