Package it.unimi.dsi.law.warc.io
Class GZWarcRecord.GZHeader
java.lang.Object
it.unimi.dsi.law.warc.io.GZWarcRecord.GZHeader
- Enclosing class:
- GZWarcRecord
public static class GZWarcRecord.GZHeader extends Object
A class to contain fields contained in the gzip header.
-
Field Summary
Fields Modifier and Type Field Description byte[]commentThe (optional)commentgzip field.intcompressedSkipLengthThecompressed-skip-lengthwarc-required extra gzip field.intmtimeThemtimegzip field.byte[]nameThe (optional)namegzip field.intuncompressedSkipLengthTheuncompressed-skip-lengthwarc-required extra gzip field. -
Constructor Summary
Constructors Constructor Description GZHeader() -
Method Summary
-
Field Details
-
compressedSkipLength
public int compressedSkipLengthThecompressed-skip-lengthwarc-required extra gzip field. -
uncompressedSkipLength
public int uncompressedSkipLengthTheuncompressed-skip-lengthwarc-required extra gzip field. -
mtime
public int mtimeThemtimegzip field. -
name
public byte[] nameThe (optional)namegzip field. Here is used to containWarcRecord.Header.recordId) -
comment
public byte[] commentThe (optional)commentgzip field. Here is used to containWarcRecord.Header.subjectUri)
-
-
Constructor Details
-
GZHeader
public GZHeader()
-
-
Method Details