public class QueryResultsReader
extends java.lang.Object
Constructor and Description |
---|
QueryResultsReader()
Creates a QueryResultsReader.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<gov.nasa.gsfc.sscweb.schema.Conjunction> |
getConjunctions(java.io.BufferedReader results)
Read the SSC query output and produces a
JAXBElement<Conjunctions> represention of the output. |
static gov.nasa.gsfc.sscweb.schema.FormatOptions |
getRequiredFormatOptions()
Creates a FormatOptions object that specifies the format this
class needs to be able to parse the query output.
|
static void |
main(java.lang.String[] args)
Class tester.
|
public QueryResultsReader() throws javax.xml.datatype.DatatypeConfigurationException
javax.xml.datatype.DatatypeConfigurationException
- if unable to instaniate a
DatatypeFactory.public static gov.nasa.gsfc.sscweb.schema.FormatOptions getRequiredFormatOptions()
public java.util.List<gov.nasa.gsfc.sscweb.schema.Conjunction> getConjunctions(java.io.BufferedReader results) throws java.io.IOException, SSCException
JAXBElement<Conjunctions>
represention of the output.results
- BufferedReader connected to the query results.java.io.IOException
- if an I/O exception occurs.SSCException
- if an SSC exception occurs.public static void main(java.lang.String[] args) throws java.lang.Exception
args
- command line arguments. args[0] = name of file
containing the SSC query output.java.lang.Exception
- if any exception occurs.SSC Feedback.
Copyright © 2003-2018 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.