gov.nasa.pds.search.core.indexer.pds
Class ProfileParser

java.lang.Object
  extended by gov.nasa.pds.search.core.indexer.pds.ProfileParser

public class ProfileParser
extends Object

Parses a profile for text search and creates a Lucene document.

Version:
$Revision: 10981 $
Author:
pramirez

Constructor Summary
ProfileParser()
           
 
Method Summary
static void main(String[] args)
          Used to test the current java program.
static org.apache.lucene.document.Document parse(File file)
          Creates the document object a parses out all of the data from each individual XML documents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileParser

public ProfileParser()
Method Detail

parse

public static org.apache.lucene.document.Document parse(File file)
Creates the document object a parses out all of the data from each individual XML documents.

Parameters:
file - - The individual profile document for each record for the current class.
Returns:
Document - Lucene DOM document returned with parsed data.

main

public static void main(String[] args)
                 throws Exception
Used to test the current java program.

Parameters:
args -
Throws:
Exception


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