001package edu.pdx.cs410J;
002
003/**
004 * Classes that implement this interface read some source and from it
005 * create an airline.
006 */
007public interface AirlineParser<T extends AbstractAirline> {
008  /**
009   * Parses some source and returns an airline.
010   *
011   * @throws ParserException
012   *         If the source is malformatted.
013   */
014  public T parse() throws ParserException;
015}