org.apache.manifoldcf.crawler.connectors.webcrawler
Class DataCache.DocumentData

java.lang.Object
  extended by org.apache.manifoldcf.crawler.connectors.webcrawler.DataCache.DocumentData
Enclosing class:
DataCache

protected static class DataCache.DocumentData
extends java.lang.Object

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

data

protected java.io.File data
The cache file for the data


responseCode

protected int responseCode
The response code


contentType

protected java.lang.String contentType
The content-type header value


referralURI

protected java.lang.String referralURI
The referral URI

Constructor Detail

DataCache.DocumentData

public DataCache.DocumentData(java.io.File data,
                              int responseCode,
                              java.lang.String contentType,
                              java.lang.String referralURI)
Constructor.

Method Detail

getData

public java.io.File getData()
Get the data


getResponseCode

public int getResponseCode()
Get the response code


getContentType

public java.lang.String getContentType()
Get the contentType


getReferralURI

public java.lang.String getReferralURI()
Get the referral URI