Class FormLetterGenerator

java.lang.Object
  extended by FormLetterGenerator

public class FormLetterGenerator
extends Object

Class used to generate form letters

Author:
Barbara Ericson

Constructor Summary
FormLetterGenerator()
           
 
Method Summary
static void main(String[] args)
           
 void writeLetter(String title, String lastName, String city, String eyeColor)
          Method to generate a form letter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormLetterGenerator

public FormLetterGenerator()
Method Detail

writeLetter

public void writeLetter(String title,
                        String lastName,
                        String city,
                        String eyeColor)
Method to generate a form letter

Parameters:
title - the person's title (Mr., Mrs., Dr.)
lastName - the last name for the recipient
city - the name of the city for the recipient
eyeColor - the eye color of the recipient

main

public static void main(String[] args)