|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.harvest.Harvester
public class Harvester
Front end class to the Harvest tool.
Constructor Summary | |
---|---|
Harvester(String registryURL,
Candidate candidates)
Constructor. |
|
Harvester(String registryURL,
Candidate candidates,
SecuredUser user)
Constructor. |
Method Summary | |
---|---|
void |
harvest(File directory,
List<String> filePatterns)
Harvests the products in the given directory. |
void |
harvestBundle(File bundle)
Harvests the products given in the PDS4 Inventory file. |
void |
harvestCollection(File collection)
Harvests the products given in the PDS4 Inventory file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Harvester(String registryURL, Candidate candidates) throws MalformedURLException
registryURL
- The registry location.candidates
- Class containing the products to look for and what
metadata to extract.
MalformedURLException
public Harvester(String registryURL, Candidate candidates, SecuredUser user) throws MalformedURLException
registryURL
- The registry location.candidates
- Class containing the products to look for and what
metadata to extract.user
- If security is enabled in the registry, this parameter
authenticates the user running the tool.
MalformedURLException
Method Detail |
---|
public void harvest(File directory, List<String> filePatterns)
directory
- A starting directory.filePatterns
- Specify file patterns to search for while crawling
the directories.public void harvestBundle(File bundle) throws InventoryReaderException
bundle
- a PDS4 bundle file
InventoryReaderException
public void harvestCollection(File collection) throws InventoryReaderException
collection
- a PDS4 collection file
InventoryReaderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |