dk.netarkivet.harvester.harvesting
Class LegacyNamingConvention

java.lang.Object
  extended by dk.netarkivet.harvester.harvesting.LegacyNamingConvention
All Implemented Interfaces:
ArchiveFileNaming

public class LegacyNamingConvention
extends java.lang.Object
implements ArchiveFileNaming

Implements the standard way of prefixing archive files in Netarchivesuite. I.e. jobid-harvestid


Constructor Summary
LegacyNamingConvention()
           
 
Method Summary
 java.lang.String getPrefix(Job theJob)
          Make a prefix to be used by Heritrix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyNamingConvention

public LegacyNamingConvention()
Method Detail

getPrefix

public java.lang.String getPrefix(Job theJob)
Description copied from interface: ArchiveFileNaming
Make a prefix to be used by Heritrix. It is optional what information from the harvestjob if any is going to be part of the prefix.

Specified by:
getPrefix in interface ArchiveFileNaming
Parameters:
theJob - the harvestJob
Returns:
a prefix to be used by Heritrix