de.netseeker.ejoe.examples.remoting
Class AddressBook

java.lang.Object
  extended by de.netseeker.ejoe.examples.remoting.AddressBook
All Implemented Interfaces:
IAddressBook

public class AddressBook
extends java.lang.Object
implements IAddressBook

A simple in-memory address storage

Since:
0.3.9.1
Author:
netseeker

Constructor Summary
AddressBook()
           
 
Method Summary
 void addEntry(java.lang.String name, Address address)
           
 void addEntry(java.lang.String firstName, java.lang.String lastName, Address address)
           
 Address getAddressFromName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressBook

public AddressBook()
Method Detail

addEntry

public void addEntry(java.lang.String name,
                     Address address)
Specified by:
addEntry in interface IAddressBook

addEntry

public void addEntry(java.lang.String firstName,
                     java.lang.String lastName,
                     Address address)
Specified by:
addEntry in interface IAddressBook

getAddressFromName

public Address getAddressFromName(java.lang.String name)
                           throws java.lang.IllegalArgumentException
Specified by:
getAddressFromName in interface IAddressBook
Returns:
Throws:
java.lang.IllegalArgumentException


Copyright © 2005-2007 netseeker. All Rights Reserved.