gov.nasa.pds.search.core.extractor
Class ProductClass

java.lang.Object
  extended by gov.nasa.pds.search.core.extractor.ProductClass

public class ProductClass
extends Object

Author:
pramirez, jpadams

Constructor Summary
ProductClass(PrintWriter writer, String name, String file, String registryUrl, int queryMax)
          Initialize global variables used throughout
 
Method Summary
 List<String> query(File outputDir)
          Driving method for querying data from the registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductClass

public ProductClass(PrintWriter writer,
                    String name,
                    String file,
                    String registryUrl,
                    int queryMax)
Initialize global variables used throughout

Parameters:
writer - writer for run log
name - class of catalog to be extracted
file - object type XML config file
registryUrl - URL for registry to query
queryMax - maximum number of queried results
Method Detail

query

public List<String> query(File outputDir)
                   throws ProductClassException
Driving method for querying data from the registry

Parameters:
outputDir -
Returns:
Throws:
ProductClassException


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.