001package edu.pdx.cs410J;
002
003import java.io.IOException;
004
005/**
006 * This interface allows the contents of an appointment book to be
007 * dumped to some destination.
008 *
009 * @author David Whitlock
010 * @version $Revision: 1.2 $
011 * @since Fall 2000
012 */
013public interface AppointmentBookDumper<T extends AbstractAppointmentBook> {
014
015  /**
016   * Dumps an appointment book to some destination.
017   *
018   * @param book
019   *        The appointment book whose contents are to be dumped
020   *
021   * @throws IOException
022   *         Something went wrong while dumping the appointment book
023   */
024  public void dump(T book) throws IOException;
025
026}