public class CreateCDXMetadataFile extends ToolRunnerBase
Usage: java dk.netarkivet.harvester.tools.CreateCDXMetadataFile -w --jobID 2 --harvestID 5 --harvestnamePrefix 2-1 Usage: java dk.netarkivet.harvester.tools.CreateCDXMetadataFile -a --jobID 2 --harvestID 5 --harvestnamePrefix 2-1 Usage: java dk.netarkivet.harvester.tools.CreateCDXMetadataFile --jobID 2 --harvestID 5 --harvestnamePrefix 2-1
The CDX records is slightly different from the one produced normally. As we are not able to extract the timestamp, and harvestID from the (W) arcfilenames, this information is not part of the CXDURI.
Modifier and Type | Field and Description |
---|---|
static String |
ARCMODE |
static String |
usageString |
static String |
WARCMODE |
Constructor and Description |
---|
CreateCDXMetadataFile() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] argv)
Main method.
|
protected SimpleCmdlineTool |
makeMyTool()
Create the tool instance.
|
runTheTool, showMessage
public static final String ARCMODE
public static final String WARCMODE
public static final String usageString
public CreateCDXMetadataFile()
public static void main(String[] argv)
argv
- Arguments to the tool: jobID harvestnamePrefixprotected SimpleCmdlineTool makeMyTool()
makeMyTool
in class ToolRunnerBase
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.