|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.tools.ToolRunnerBase dk.netarkivet.common.tools.ArcWrap
public class ArcWrap
Command line tool for creating an ARC file from given data. Uses ToolRunnerBase and SimpleCmdlineTool to coordinate task. Usage: java dk.netarkivet.common.tools.ArcWrap input_file uri mime-type > myarchive.arc Note: Does not depend on logging - communicates failure on stderr
Constructor Summary | |
---|---|
ArcWrap()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main method. |
protected SimpleCmdlineTool |
makeMyTool()
Factory method. |
Methods inherited from class dk.netarkivet.common.tools.ToolRunnerBase |
---|
runTheTool, showMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArcWrap()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- Takes three command line parameters: - input file (the content
to archive) - uri (the name to record the content by) -
mime-type (the type to record for the content)protected SimpleCmdlineTool makeMyTool()
ToolRunnerBase
makeMyTool
in class ToolRunnerBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |