Class CollectionPrefixNamingConvention
- java.lang.Object
-
- dk.netarkivet.harvester.harvesting.CollectionPrefixNamingConvention
-
- All Implemented Interfaces:
ArchiveFileNaming
public class CollectionPrefixNamingConvention extends Object implements ArchiveFileNaming
Implements another way of prefixing archive files in Netarchivesuite. I.e. collectionName-jobid-harvestid
-
-
Constructor Summary
Constructors Constructor Description CollectionPrefixNamingConvention()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix(Job theJob)
Make a prefix to be used by Heritrix.
-
-
-
Method Detail
-
getPrefix
public 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 interfaceArchiveFileNaming
- Parameters:
theJob
- the harvestJob- Returns:
- a prefix to be used by Heritrix
-
-