Class GetATIS

java.lang.Object
org.deltava.dao.http.DAO
org.deltava.dao.http.GetATIS

public class GetATIS extends DAO
A Data Access Object to fetch Airport ATIS data.
Since:
10.3
Version:
11.1
Author:
Luke
  • Constructor Details

    • GetATIS

      public GetATIS()
  • Method Details

    • getFacilityCodes

      public Collection<String> getFacilityCodes() throws DAOException
      Returns the available ATIS facilities.
      Returns:
      a list of airport codes.
      Throws:
      DAOException - if an I/O error occurs
    • get

      public ATIS get(Airport ap, ATISType type) throws DAOException
      Fetches an Airport ATIS.
      Parameters:
      ap - the Airport
      type - the ATISType
      Returns:
      an ATIS bean, or null if not found
      Throws:
      DAOException - if an I/O error occurs