gov.nasa.pds.search.core
Class RegistryExtractor

java.lang.Object
  extended by 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

Constructor Summary
RegistryExtractor(String registryUrl)
           
RegistryExtractor(String registryUrl, String outDir)
           
RegistryExtractor(String registryUrl, String outDir, String confDir)
          Initializing method used when a base directory is given.
 
Method Summary
 File getConfDir()
           
 Set<String> getExtractors()
           
 File getOutDir()
           
 int getQueryMax()
           
 String getRegistryUrl()
           
static void main(String[] args)
           
 void run()
          Driver method for extraction of data for all classes to be included in catalog.
 void setConfDir(File confDir)
           
 void setOutDir(File outDir)
           
 void setQueryMax(int queryMax)
           
 void setRegistryUrl(String registryUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.