dk.netarkivet.harvester.tools
Class CreateLogsMetadataFile
java.lang.Object
dk.netarkivet.common.tools.ToolRunnerBase
dk.netarkivet.harvester.tools.CreateLogsMetadataFile
public class CreateLogsMetadataFile
- extends ToolRunnerBase
Create a metadata arcfile for the logs and other archive-worthy
job-information found in a given jobsdir.
A jobsdir is only valid, if it contains a harvestInfo.xml
Requires a jobid-harvestid.txt file created by
CreateHarvestMappingsFromAdminData.
The metadata arcfile are named: -metadata-2.arc file
(note: -metadata-1.arc is already used)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateLogsMetadataFile
public CreateLogsMetadataFile()
main
public static void main(java.lang.String[] argv)
- Main method. Creates and runs the tool object responsible for
creating the logs metadata file for a job.
- Parameters:
argv
- Arguments to the tool: pathToJobidHarvestid.txt jobsDir
makeMyTool
protected SimpleCmdlineTool makeMyTool()
- Create the tool instance.
- Specified by:
makeMyTool
in class ToolRunnerBase
- Returns:
- A new tool object.