Package it.unimi.dsi.law.warc.io
Class WarcRecord.Header
java.lang.Object
it.unimi.dsi.law.warc.io.WarcRecord.Header
- Enclosing class:
- WarcRecord
public static class WarcRecord.Header extends Object
A class to contain fields contained in the warc
header
.-
Field Summary
Fields Modifier and Type Field Description Map<String,String>
anvlFields
The warcanvl-field
s.WarcRecord.ContentType
contentType
The warccontent-type
.Date
creationDate
The warccreation-date
.long
dataLength
The warcdata-length
.UUID
recordId
The warcrecord id
.WarcRecord.RecordType
recordType
The warcrecord-type
.URI
subjectUri
The warcsubject-uri
. -
Constructor Summary
Constructors Constructor Description Header()
-
Method Summary
-
Field Details
-
dataLength
public long dataLengthThe warcdata-length
. -
recordType
The warcrecord-type
. -
subjectUri
The warcsubject-uri
. -
creationDate
The warccreation-date
. -
contentType
The warccontent-type
. -
recordId
The warcrecord id
. -
anvlFields
The warcanvl-field
s.
-
-
Constructor Details
-
Header
public Header()
-
-
Method Details