001package edu.pdx.cs410J;
002
003import java.io.IOException;
004
005/**
006 * Classes that implement this interface dump the contents of an
007 * airline to some destination.
008 *
009 * @author David Whitlock
010 * @version $Revision: 1.3 $
011 * @since Fall 2001
012 */
013public interface AirlineDumper<T extends AbstractAirline> {
014
015  /**
016   * Dumps an airline to some destination.
017   *
018   * @param airline
019   *        The airline being written to a destination
020   *
021   * @throws IOException
022   *         Something went wrong while writing the airline
023   */
024  public void dump(T airline) throws IOException;
025
026}