Class ArchiveRecordBase

    • Field Detail

      • bIsArc

        public boolean bIsArc
        Is this record from an ARC file.
      • bIsWarc

        public boolean bIsWarc
        Is this record from a WARC file.
    • Method Detail

      • getHeader

        public abstract ArchiveHeaderBase getHeader()
        Return the wrapped Heritrix archive header
        Returns:
        the wrapped Heritrix archive header
      • getInputStream

        public abstract java.io.InputStream getInputStream()
        Return the payload input stream.
        Returns:
        the payload input stream
      • wrapArchiveRecord

        public static ArchiveRecordBase wrapArchiveRecord​(org.archive.io.ArchiveRecord archiveRecord)
        Factory method for creating a wrapped Heritrix record.
        Parameters:
        archiveRecord - Heritrix archive record
        Returns:
        wrapped Heritrix record