public class Arc2Warc extends Object
Modifier and Type | Field and Description |
---|---|
protected org.archive.uid.RecordIDGenerator |
generator |
Constructor and Description |
---|
Arc2Warc() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Command-line interface to Arc2Warc.
|
protected void |
transform(org.archive.io.arc.ARCReader reader,
File warc) |
void |
transform(File arc,
File warc,
boolean force) |
protected void |
write(org.archive.io.warc.WARCWriter writer,
org.archive.io.arc.ARCRecord r) |
public void transform(File arc, File warc, boolean force) throws IOException
IOException
protected void transform(org.archive.io.arc.ARCReader reader, File warc) throws IOException
IOException
protected void write(org.archive.io.warc.WARCWriter writer, org.archive.io.arc.ARCRecord r) throws IOException
IOException
public static void main(String[] args) throws org.apache.commons.cli.ParseException, IOException, ParseException
args
- Command-line arguments.org.apache.commons.cli.ParseException
- Failed parse of the command line.IOException
ParseException
Copyright © 2003-2014 Internet Archive. All Rights Reserved.