Package it.unimi.dsi.law.warc.tool
Class GZWarcStats
java.lang.Object
it.unimi.dsi.law.warc.tool.GZWarcStats
public class GZWarcStats extends Object
A tool to compute some statistics about a gzipped WARC file.
-
Constructor Summary
Constructors Constructor Description GZWarcStats()
-
Method Summary
Modifier and Type Method Description static void
main(String[] arg)
static long
run(FastBufferedInputStream in, SummaryStats uncompressedSize, SummaryStats compressedSize, SummaryStats compressionRatio)
-
Constructor Details
-
GZWarcStats
public GZWarcStats()
-
-
Method Details
-
run
public static long run(FastBufferedInputStream in, SummaryStats uncompressedSize, SummaryStats compressedSize, SummaryStats compressionRatio) throws IOException, WarcRecord.FormatException -
main
- Throws:
Exception
-