|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucsb.nceas.metacat.harvesterClient.HarvestDocument
HarvestDocument manages operations and data for a single document to be harvested.
Constructor Summary | |
HarvestDocument(Harvester harvester,
HarvestSiteSchedule harvestSiteSchedule,
java.lang.String scope,
int identifier,
int revision,
java.lang.String documentType,
java.lang.String documentURL)
Creates a new instance of HarvestDocument. |
Method Summary | |
java.io.StringReader |
getSiteDocument()
Retrieve the document from the site using its |
void |
harvestDocument()
Harvest the document from the site. |
int |
metacatHighestRevision()
Determines the highest revision that Metacat has for this document. |
void |
prettyPrint(java.io.PrintStream out)
Print the document URL following by its scope.identifier.revision. |
void |
printOutput(java.io.PrintStream out)
Print the data fields and values in this HarvestDocument object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HarvestDocument(Harvester harvester, HarvestSiteSchedule harvestSiteSchedule, java.lang.String scope, int identifier, int revision, java.lang.String documentType, java.lang.String documentURL)
harvester
- the parent Harvester objectharvestSiteSchedule
- the parent HarvestSiteSchedule objectscope
- the value of the identifier
- the value of the revision
- the value of the documentType
- the value of the documentURL
- the value of the Method Detail |
public java.io.StringReader getSiteDocument()
public void harvestDocument()
public int metacatHighestRevision()
public void printOutput(java.io.PrintStream out)
out
- the PrintStream to write topublic void prettyPrint(java.io.PrintStream out)
out
- the PrintStream to write to
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |