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[]
comment
The (optional)comment
gzip field.int
compressedSkipLength
Thecompressed-skip-length
warc-required extra gzip field.int
mtime
Themtime
gzip field.byte[]
name
The (optional)name
gzip field.int
uncompressedSkipLength
Theuncompressed-skip-length
warc-required extra gzip field. -
Constructor Summary
Constructors Constructor Description GZHeader()
-
Method Summary
-
Field Details
-
compressedSkipLength
public int compressedSkipLengthThecompressed-skip-length
warc-required extra gzip field. -
uncompressedSkipLength
public int uncompressedSkipLengthTheuncompressed-skip-length
warc-required extra gzip field. -
mtime
public int mtimeThemtime
gzip field. -
name
public byte[] nameThe (optional)name
gzip field. Here is used to containWarcRecord.Header.recordId
) -
comment
public byte[] commentThe (optional)comment
gzip field. Here is used to containWarcRecord.Header.subjectUri
)
-
-
Constructor Details
-
GZHeader
public GZHeader()
-
-
Method Details