gov.nasa.pds.search.core
Class RegistryExtractor
java.lang.Object
gov.nasa.pds.search.core.RegistryExtractor
public class RegistryExtractor
- extends Object
Utilizes the Extractor Factory to create instances of each class that needs
to be included in the catalog.
- Version:
- $Revision: 10572 $
- Author:
- pramirez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryExtractor
public RegistryExtractor(String registryUrl,
String outDir,
String confDir)
- Initializing method used when a base directory is given.
- Parameters:
base
- - Directory used as the base for all extractor files.
RegistryExtractor
public RegistryExtractor(String registryUrl,
String outDir)
RegistryExtractor
public RegistryExtractor(String registryUrl)
run
public void run()
throws ExtractionException
- Driver method for extraction of data for all classes to be included in
catalog.
- Throws:
ExtractionException
getExtractors
public Set<String> getExtractors()
getConfDir
public File getConfDir()
- Returns:
- the confDir
setConfDir
public void setConfDir(File confDir)
- Parameters:
confDir
- the confDir to set
getOutDir
public File getOutDir()
- Returns:
- the outDir
setOutDir
public void setOutDir(File outDir)
- Parameters:
outDir
- the outDir to set
getRegistryUrl
public String getRegistryUrl()
- Returns:
- the registryUrl
setRegistryUrl
public void setRegistryUrl(String registryUrl)
- Parameters:
registryUrl
- the registryUrl to set
getQueryMax
public int getQueryMax()
- Returns:
- the queryMax
setQueryMax
public void setQueryMax(int queryMax)
- Parameters:
queryMax
- the queryMax to set
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2010-2012 Planetary Data System. All Rights Reserved.