AirData.java [src/AirData] Revision: default Date:
package AirData;
/**
* Last Updated: 20-April-2017
* @author Tyler Wible
* @since 20-April-2017
*/
public class AirData {
/**
* Initializes a data source based on the provided database name
* @param database the name of the air data source desired (NADP)
* @return an AirDataInterface for the appropriate data source, or null
*/
public static AirDataInterface getNewAirDataDataInterface(String database){
AirDataInterface dataSource = null;
if(database.equalsIgnoreCase("NADP")){
dataSource = new NADPData();
}
return dataSource;
}
}