Class WarcRecordProperties

java.lang.Object
edu.harvard.hul.ois.jhove.module.warc.WarcRecordProperties

public class WarcRecordProperties extends Object
Retrieves the WARC record data and delivers its properties as a map. Based on the WARC property classes from JHOVE2.
Author:
jolf
  • Constructor Details

    • WarcRecordProperties

      public WarcRecordProperties(org.jwat.warc.WarcRecord record)
      Constructor.
      Parameters:
      record - The record to extract the properties from.
  • Method Details

    • getProperties

      public Map<String,String> 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.