public class Setup extends Object
The purpose of this class is to load and represent the setup data for the ephemeris comparator.
Properties
Modifier and Type | Method and Description |
---|---|
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.
|
public Setup(String filePath) throws IOException
filePath
- the path to the properties fileEphemerisComparatorRuntimeException
- when the file can not be foundIOException
- if an error occurs during the reading of the filepublic 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 columnsCopyright © 2018 CNES. All Rights Reserved.