public class Warc2Arc extends Object
text/dns
or
application/http; msgtype=response
. All others -- metadata,
request -- are skipped.Constructor and Description |
---|
Warc2Arc() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isARCType(String mimetype) |
static void |
main(String[] args)
Command-line interface to Arc2Warc.
|
protected static String |
parseRevision(String version) |
void |
transform(File warc,
File dir,
String prefix,
String suffix,
boolean force) |
protected void |
transform(org.archive.io.warc.WARCReader reader,
org.archive.io.arc.ARCWriter writer) |
public void transform(File warc, File dir, String prefix, String suffix, boolean force) throws IOException, ParseException
IOException
ParseException
protected void transform(org.archive.io.warc.WARCReader reader, org.archive.io.arc.ARCWriter writer) throws IOException, ParseException
IOException
ParseException
protected boolean isARCType(String mimetype)
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.