gov.nasa.pds.citool
Class CIToolIngester

java.lang.Object
  extended by gov.nasa.pds.citool.CIToolIngester

public class CIToolIngester
extends Object


Constructor Summary
CIToolIngester(CatalogDB catalogDb, IngestReport report)
           
 
Method Summary
 void ingest(List<URL> sources)
          Ingest catalog files from the given directories.
 void ingest(Target target, boolean recurse)
          Ingest catalog file(s).
 void ingest(URL source)
          Ingest a catalog file
 gov.nasa.pds.tools.label.Label parse(URL url)
          Method to parse the PDS catalog file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIToolIngester

public CIToolIngester(CatalogDB catalogDb,
                      IngestReport report)
Method Detail

ingest

public void ingest(Target target,
                   boolean recurse)
            throws Exception
Ingest catalog file(s).

Parameters:
target - URL of the target (directory or file)
Throws:
Exception

ingest

public void ingest(URL source)
Ingest a catalog file

Parameters:
source - URL of the catalog file.

ingest

public void ingest(List<URL> sources)
Ingest catalog files from the given directories.

Parameters:
sources - URL of the directory of catalog files

parse

public gov.nasa.pds.tools.label.Label parse(URL url)
Method to parse the PDS catalog file



Copyright © 2005-2011 Planetary Data System. All Rights Reserved.