Class AddressBook

java.lang.Object
  |
  +--AddressBook

public class AddressBook
extends Object

AddressBook.java Created: Sun Mar 2 18:04:33 2003

Author:
Stuart C. Shapiro

Constructor Summary
AddressBook()
          Creates a new AddressBook, and loads it from the file emailList.txt
 
Method Summary
static void main(String[] args)
          Sorts the Email Address Book file, emailList.txt.
 void save()
          Writes this AddressBook into the file emailList.txt.
 String toString()
          Returns a String representation of this AddressBook.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddressBook

public AddressBook()
Creates a new AddressBook, and loads it from the file emailList.txt

Method Detail

save

public void save()
Writes this AddressBook into the file emailList.txt.


toString

public String toString()
Returns a String representation of this AddressBook.

Overrides:
toString in class Object
Returns:
a String representation of this AddressBook.

main

public static void main(String[] args)
Sorts the Email Address Book file, emailList.txt.

Parameters:
args - a String[] value