|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.tools.ephemerisComparator.Setup
public class Setup
The purpose of this class is to load and represent the setup data for the ephemeris comparator.
Properties| Constructor Summary | |
|---|---|
Setup(String filePath)
Constructor. |
|
| Method Summary | |
|---|---|
ArrayList<String> |
getColumnTitles()
get the titles of the columns. |
ArrayList<int[]> |
getFirstFileColumnIndexes()
get the column indexes of the first file |
ArrayList<DataType> |
getFirstFileColumnTypes()
get the column indexes of the first file |
AllowedFileType |
getFirstFileType()
get the type of the first file. |
int |
getNumberOfColumns()
get the number of columns that will be used in the ephemeris files. |
ArrayList<int[]> |
getSecondFileColumnIndexes()
get the column indexes of the second file |
ArrayList<DataType> |
getSecondFileColumnTypes()
get the column indexes of the second file |
AllowedFileType |
getSecondFileType()
get the type of the first file. |
ArrayList<Double> |
getThresholds()
get the thresholds of the columns. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Setup(String filePath)
throws IOException
filePath - the path to the properties file
EphemerisComparatorRuntimeException - when the file can not be found
IOException - if an error occurs during the reading of the file| Method Detail |
|---|
public final int getNumberOfColumns()
public final ArrayList<String> getColumnTitles()
EphemerisComparatorRuntimeException - if the properties are incoherent, ie if the number of titles does not match the number of columnspublic final ArrayList<Double> getThresholds()
EphemerisComparatorRuntimeException - if the properties are incoherent, ie if the number of titles does not match the number of columnspublic final AllowedFileType getFirstFileType()
EphemerisComparatorRuntimeException - if the method can not read the filepublic final AllowedFileType getSecondFileType()
EphemerisComparatorRuntimeException - if the method can not read the filepublic final ArrayList<int[]> getFirstFileColumnIndexes()
EphemerisComparatorRuntimeException - if the properties are incoherent, ie if the number of sets of column indexes does not match the
number of columnspublic final ArrayList<int[]> getSecondFileColumnIndexes()
EphemerisComparatorRuntimeException - if the properties are incoherent, ie if the number of sets of column indexes does not match the
number of columnspublic final ArrayList<DataType> getFirstFileColumnTypes()
EphemerisComparatorRuntimeException - if the properties are incoherent, ie if the number of sets of column indexes does not match the
number of columnspublic final ArrayList<DataType> getSecondFileColumnTypes()
EphemerisComparatorRuntimeException - if the properties are incoherent, ie if the number of sets of column indexes does not match the
number of columns
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||