Class WarcRecordProperties
java.lang.Object
edu.harvard.hul.ois.jhove.module.warc.WarcRecordProperties
Retrieves the WARC record data and delivers its properties as a map.
Based on the WARC property classes from JHOVE2.
- Author:
- jolf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the WARC record properties as a map.
-
Constructor Details
-
WarcRecordProperties
public WarcRecordProperties(org.jwat.warc.WarcRecord record) Constructor.- Parameters:
record- The record to extract the properties from.
-
-
Method Details
-
getProperties
Retrieves the WARC record properties as a map. Starts by extracting the base properties for all WARC records, then adds the specific properties for the given type of WARC record.- Returns:
- A map of the properties of the WARC record.
-