Class ArcMerge


  • public class ArcMerge
    extends ToolRunnerBase
    Command line tool for merging several ARC files into a single ARC file.

    Usage: java dk.netarkivet.common.tools.ArcMerge file1 [file2] ... > myarchive.arc

    Note: Does not depend on logging - communicates failure on stderr

    • Constructor Detail

      • ArcMerge

        public ArcMerge()
    • Method Detail

      • main

        public static void main​(String[] args)
        Main method. Reads all ARC files specified (as arguments) and outputs a merged ARC file on stdout.
        Parameters:
        args - The command line arguments should be a list of ARC files to be merged. At least one input ARC file should be given.
      • makeMyTool

        protected SimpleCmdlineTool makeMyTool()
        Description copied from class: ToolRunnerBase
        Factory method. Creates and returns the intended specific implementation of a command line tool.
        Specified by:
        makeMyTool in class ToolRunnerBase
        Returns:
        An implementation of the SimpleCmdlineTool interface.