|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.wayback.core.SearchResult
org.archive.wayback.core.CaptureSearchResult
public class CaptureSearchResult
| Field Summary | |
|---|---|
static String |
CAPTURE_CAPTURE_TIMESTAMP
Result: 14-digit timestamp when document was captured |
static String |
CAPTURE_CLOSEST_INDICATOR
Result: flag within a SearchResult that indicates this is the closest to a particular requested date. |
static String |
CAPTURE_CLOSEST_VALUE
|
static String |
CAPTURE_DIGEST
Result: some form of document fingerprint. |
static String |
CAPTURE_DUPLICATE_ANNOTATION
Result: this key being present indicates that this particular capture was not actually stored, and that other values within this SearchResult are actually values from a different record which *should* be identical to this capture, had it been stored. |
static String |
CAPTURE_DUPLICATE_DIGEST
flag indicates that this document was downloaded and verified as identical to a previous capture by digest. |
static String |
CAPTURE_DUPLICATE_HTTP
flag indicates that this document was NOT downloaded, but that the origin server indicated that the document had not changed, based on If-Modified HTTP request headers. |
static String |
CAPTURE_DUPLICATE_STORED_TS
Result: this key is present when the CAPTURE_DUPLICATE_ANNOTATION is also present, with the value indicating the last date that was actually stored for this duplicate. |
static String |
CAPTURE_END_OFFSET
Result: compressed byte offset within ARC/WARC file where this document's gzip envelope Ends. |
static String |
CAPTURE_FILE
Result: basename of ARC/WARC file containing this document. |
static String |
CAPTURE_HTTP_CODE
Result: 3-digit integer HTTP response code. |
static String |
CAPTURE_MIME_TYPE
Result: best-guess at mime-type of this document. |
static String |
CAPTURE_OFFSET
Result: compressed byte offset within ARC/WARC file where this document's gzip envelope begins. |
static String |
CAPTURE_ORIGINAL_HOST
|
static String |
CAPTURE_ORIGINAL_URL
|
static String |
CAPTURE_REDIRECT_URL
Result: URL that this document redirected to, or '-' if it does not redirect |
static String |
CAPTURE_ROBOT_FLAGS
Result: String flags which indicate robot instructions found in an HTML page. |
static String |
CAPTURE_ROBOT_NOARCHIVE
|
static String |
CAPTURE_ROBOT_NOFOLLOW
|
static String |
CAPTURE_ROBOT_NOINDEX
|
static String |
CAPTURE_URL_KEY
Result: canonicalized(lookup key) form of URL of captured document |
| Fields inherited from class org.archive.wayback.core.SearchResult |
|---|
data, RESULT_TRUE_VALUE |
| Constructor Summary | |
|---|---|
CaptureSearchResult()
|
|
| Methods inherited from class org.archive.wayback.core.SearchResult |
|---|
dateToTS, fromCanonicalStringMap, get, getBoolean, put, putBoolean, toCanonicalStringMap, tsToDate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CAPTURE_ORIGINAL_URL
public static final String CAPTURE_ORIGINAL_HOST
public static final String CAPTURE_URL_KEY
public static final String CAPTURE_CAPTURE_TIMESTAMP
public static final String CAPTURE_FILE
public static final String CAPTURE_OFFSET
public static final String CAPTURE_END_OFFSET
public static final String CAPTURE_MIME_TYPE
public static final String CAPTURE_HTTP_CODE
public static final String CAPTURE_DIGEST
public static final String CAPTURE_REDIRECT_URL
public static final String CAPTURE_ROBOT_FLAGS
public static final String CAPTURE_ROBOT_NOARCHIVE
public static final String CAPTURE_ROBOT_NOFOLLOW
public static final String CAPTURE_ROBOT_NOINDEX
public static final String CAPTURE_CLOSEST_INDICATOR
public static final String CAPTURE_CLOSEST_VALUE
public static final String CAPTURE_DUPLICATE_ANNOTATION
public static final String CAPTURE_DUPLICATE_STORED_TS
public static final String CAPTURE_DUPLICATE_DIGEST
public static final String CAPTURE_DUPLICATE_HTTP
| Constructor Detail |
|---|
public CaptureSearchResult()
| Method Detail |
|---|
public String getOriginalUrl()
public void setOriginalUrl(String originalUrl)
originalUrl - as close to the original URL by which this Resource
was captured as is possiblepublic String getOriginalHost()
public void setOriginalHost(String originalHost)
public String getUrlKey()
public void setUrlKey(String urlKey)
public Date getCaptureDate()
public void setCaptureDate(Date date)
public String getCaptureTimestamp()
public void setCaptureTimestamp(String timestamp)
public String getFile()
public void setFile(String file)
public long getOffset()
public void setOffset(long offset)
public long getEndOffset()
public void setEndOffset(long offset)
public String getMimeType()
public void setMimeType(String mimeType)
public String getHttpCode()
public void setHttpCode(String httpCode)
public String getDigest()
public void setDigest(String digest)
public String getRedirectUrl()
public void setRedirectUrl(String url)
public boolean isClosest()
public void setClosest(boolean value)
public void flagDuplicateDigest(Date storedDate)
public void flagDuplicateDigest(String storedTS)
public boolean isDuplicateDigest()
public Date getDuplicateDigestStoredDate()
public String getDuplicateDigestStoredTimestamp()
public void flagDuplicateHTTP(Date storedDate)
public void flagDuplicateHTTP(String storedTS)
public boolean isDuplicateHTTP()
public Date getDuplicateHTTPStoredDate()
public String getDuplicateHTTPStoredTimestamp()
public String getRobotFlags()
public void setRobotFlags(String robotFlags)
public void setRobotFlag(String flag)
public boolean isRobotFlagSet(String flag)
public boolean isRobotNoArchive()
public boolean isRobotNoIndex()
public boolean isRobotNoFollow()
public void setRobotNoArchive()
public void setRobotNoIndex()
public void setRobotNoFollow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||