Package it.unimi.dsi.law.warc.tool
Class CutWarc
java.lang.Object
it.unimi.dsi.law.warc.tool.CutWarc
public class CutWarc extends Object
A class to extract specific records from a WARC file.
-
Constructor Summary
Constructors Constructor Description CutWarc()
-
Method Summary
Modifier and Type Method Description static void
main(String[] arg)
static void
run(FastBufferedInputStream warc, RandomAccessFile idx, boolean isGZippedInput, boolean isGZippedOutput, long[] record, int recordCount, OutputStream out)
-
Constructor Details
-
CutWarc
public CutWarc()
-
-
Method Details
-
run
public static void run(FastBufferedInputStream warc, RandomAccessFile idx, boolean isGZippedInput, boolean isGZippedOutput, long[] record, int recordCount, OutputStream out) throws IOException, WarcRecord.FormatException -
main
- Throws:
Exception
-