|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.tools.ephemerisComparator.EphemerisComparator
public class EphemerisComparator
This class provides the global usage of the ephemeris comparator library.
| Constructor Summary | |
|---|---|
EphemerisComparator()
Simple constructor |
|
| Method Summary | |
|---|---|
void |
clean()
clean the output directory |
boolean |
compareFiles(URI setupFileURI,
URI firstDataFileURI,
URI secondDataFileURI)
Uses the ephemeris comparison library to load the data contained in the file, compute the comparisons between the two files and with thresholds |
boolean |
compareFilesWithReport(URI setupFileURI,
URI firstDataFileURI,
URI secondDataFileURI,
URI outputDirURI,
URI xslFileURI)
Uses the ephemeris comparison library to load the data contained in the file, compute the comparisons between the two files and with thresholds, and produce a report of the comparison. |
ComparisonData |
getAbsoluteComparisonData()
|
Data<Double> |
getloadedData1()
|
Data<Double> |
getloadedData2()
|
ComparisonData |
getRawComparisonData()
|
ComparisonData |
getRelativeComparisonData()
|
ThresholdsData |
getThresholdsData()
|
void |
initSetup(URI setupFileURI)
create a Setup object to handle the setup information |
void |
produceReport(URI setupFileURI,
URI firstDataFileURI,
URI secondDataFileURI,
URI outputDirURI,
URI xslFileURI)
Produce the report if all the data have been computed above |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EphemerisComparator()
| Method Detail |
|---|
public final void clean()
throws IOException
IOException - if there is any problem with the loading, reading, saving of the files
public final void initSetup(URI setupFileURI)
throws IOException
setupFileURI - the address to the setup information file
IOException - if there is any problem with the loading, reading, saving of the filesfor more information about the properties that can be set up
public final boolean compareFilesWithReport(URI setupFileURI,
URI firstDataFileURI,
URI secondDataFileURI,
URI outputDirURI,
URI xslFileURI)
throws IOException,
EphemerisComparatorException
setupFileURI - the address to the setup information filefirstDataFileURI - the address of the file that contains the first data setsecondDataFileURI - the address of the file that contains the second data setoutputDirURI - the address to put the reportsxslFileURI - the address of the XSL file
IOException - if there is any problem with the loading, reading, saving of the files
EphemerisComparatorException - if one of the data files can not be foundfor more information about the properties that can be set up
public final void produceReport(URI setupFileURI,
URI firstDataFileURI,
URI secondDataFileURI,
URI outputDirURI,
URI xslFileURI)
throws IOException,
EphemerisComparatorException
setupFileURI - the address to the setup information filefirstDataFileURI - the address of the file that contains the first data setsecondDataFileURI - the address of the file that contains the second data setoutputDirURI - the address to put the reportsxslFileURI - the address of the XSL file
IOException - if there is any problem with the loading, reading, saving of the files
EphemerisComparatorException - if one of the data files can not be found
public final boolean compareFiles(URI setupFileURI,
URI firstDataFileURI,
URI secondDataFileURI)
throws IOException,
EphemerisComparatorException
setupFileURI - the address to the setup information filefirstDataFileURI - the address of the file that contains the first data setsecondDataFileURI - the address of the file that contains the second data set
IOException - if there is any problem with the loading, reading, saving of the files
EphemerisComparatorException - if one of the data files can not be foundfor more information about the properties that can be set uppublic final Data<Double> getloadedData1()
public final Data<Double> getloadedData2()
public final ComparisonData getAbsoluteComparisonData()
public final ComparisonData getRelativeComparisonData()
public final ComparisonData getRawComparisonData()
public final ThresholdsData getThresholdsData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||