public abstract class ArchiveRecordBase extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
bIsArc
Is this record from an ARC file.
|
boolean |
bIsWarc
Is this record from a WARC file.
|
Constructor and Description |
---|
ArchiveRecordBase() |
Modifier and Type | Method and Description |
---|---|
abstract ArchiveHeaderBase |
getHeader()
Return the wrapped Heritrix archive header
|
abstract InputStream |
getInputStream()
Return the payload input stream.
|
static ArchiveRecordBase |
wrapArchiveRecord(org.archive.io.ArchiveRecord archiveRecord)
Factory method for creating a wrapped Heritrix record.
|
public boolean bIsArc
public boolean bIsWarc
public ArchiveRecordBase()
public abstract ArchiveHeaderBase getHeader()
public abstract InputStream getInputStream()
public static ArchiveRecordBase wrapArchiveRecord(org.archive.io.ArchiveRecord archiveRecord)
archiveRecord
- Heritrix archive recordCopyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.