001package edu.pdx.cs410J;
002
003/**
004 * Classes that implement this interface read some source and from it
005 * create a phone bill.
006 */
007public interface PhoneBillParser<T extends AbstractPhoneBill> {
008
009  /**
010   * Parses some source and returns a phone bill
011   *
012   * @throws ParserException
013   *         If the source cannot be parsed
014   */
015  public T parse() throws ParserException;
016  
017
018}