|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.manifoldcf.crawler.connectors.webcrawler.DataCache.DocumentData
protected static class DataCache.DocumentData
This class represents everything we need to know about a document that's getting passed from the getDocumentVersions() phase to the processDocuments() phase.
| Field Summary | |
|---|---|
protected java.lang.String |
contentType
The content-type header value |
protected java.io.File |
data
The cache file for the data |
protected java.lang.String |
referralURI
The referral URI |
protected int |
responseCode
The response code |
| Constructor Summary | |
|---|---|
DataCache.DocumentData(java.io.File data,
int responseCode,
java.lang.String contentType,
java.lang.String referralURI)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Get the contentType |
java.io.File |
getData()
Get the data |
java.lang.String |
getReferralURI()
Get the referral URI |
int |
getResponseCode()
Get the response code |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File data
protected int responseCode
protected java.lang.String contentType
protected java.lang.String referralURI
| Constructor Detail |
|---|
public DataCache.DocumentData(java.io.File data,
int responseCode,
java.lang.String contentType,
java.lang.String referralURI)
| Method Detail |
|---|
public java.io.File getData()
public int getResponseCode()
public java.lang.String getContentType()
public java.lang.String getReferralURI()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||