| org.archive.io.ArchiveRecordHeader
All known Subclasses: org.archive.io.arc.ARCRecordMetaData,
ArchiveRecordHeader | public interface ArchiveRecordHeader (Code) | | Archive Record Header.
author: stack version: $Date: 2006-08-28 23:44:20 +0000 (Mon, 28 Aug 2006) $ $Version$ |
getContentBegin | public int getContentBegin()(Code) | | Offset at which the content begins.
For ARCs, its used to delimit where http headers end and content begins.
For WARCs, its end of Named Fields before payload starts.
|
getDigest | abstract public String getDigest()(Code) | | Returns digest as String for this record. Only available afterthe record has been read in totality. |
getHeaderFieldKeys | abstract public Set getHeaderFieldKeys()(Code) | | Header field name keys. |
getHeaderFields | abstract public Map getHeaderFields()(Code) | | Map of header fields. |
getHeaderValue | abstract public Object getHeaderValue(String key)(Code) | | Parameters: key - Key to use looking up field value. value for passed key of null if no such entry. |
getLength | abstract public long getLength()(Code) | | Return length of record. |
getMimetype | abstract public String getMimetype()(Code) | | Record mimetype. |
getOffset | abstract public long getOffset()(Code) | | Offset into Archive file at which this record begins. |
getReaderIdentifier | abstract public String getReaderIdentifier()(Code) | | Returns identifier for current Archive file. Be aware thismay not be a file name or file path. It may just be an URL. Dependson how Archive file was made. |
getRecordIdentifier | abstract public String getRecordIdentifier()(Code) | | Identifier for the record. If ARC, the URL + date. If WARC, the GUID assigned. |
getUrl | abstract public String getUrl()(Code) | | Record subject-url. |
getVersion | abstract public String getVersion()(Code) | | Record version. |
|
|