gov.nasa.pds.citool.ingestor
Class Ingestor

java.lang.Object
  extended by gov.nasa.pds.citool.ingestor.Ingestor

public class Ingestor
extends java.lang.Object


Field Summary
static int fileCount
           
 
Constructor Summary
Ingestor(CatalogDB catDb)
           
 
Method Summary
 void ingest(java.util.List<java.net.URL> sources)
          Ingest catalog files from the given directories.
 void ingest(java.net.URL source)
          Ingest a catalog file
 gov.nasa.pds.tools.label.Label parse(java.net.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
 

Field Detail

fileCount

public static int fileCount
Constructor Detail

Ingestor

public Ingestor(CatalogDB catDb)
Method Detail

ingest

public void ingest(java.net.URL source)
Ingest a catalog file

Parameters:
source - URL of the catalog file.

ingest

public void ingest(java.util.List<java.net.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(java.net.URL url)
Method to parse the PDS catalog file



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