com.anthonyeden.lib.util
Interface Addressed

All Known Implementing Classes:
DefaultAddressed

public interface Addressed

* An interface representing an object which has a mailing * address. * * @author Anthony Eden


Method Summary
 java.lang.String getAddress1()
           
 java.lang.String getAddress2()
           
 java.lang.String getCity()
           
 java.lang.String getCountry()
           
 java.lang.String getEmail()
           
 java.lang.String getName()
           
 java.lang.String getPostalCode()
           
 java.lang.String getState()
           
 void writeTo(java.io.OutputStream out)
          * Write the address data to the given OutputStream.
 void writeTo(java.io.Writer out)
          * Write the address data to the given Writer.
 

Method Detail

getName

public java.lang.String getName()

getAddress1

public java.lang.String getAddress1()

getAddress2

public java.lang.String getAddress2()

getCity

public java.lang.String getCity()

getState

public java.lang.String getState()

getPostalCode

public java.lang.String getPostalCode()

getCountry

public java.lang.String getCountry()

getEmail

public java.lang.String getEmail()

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
* Write the address data to the given OutputStream. * * @param out The OutputStream to write to * @throws IOException

Throws:
java.io.IOException

writeTo

public void writeTo(java.io.Writer out)
             throws java.io.IOException
* Write the address data to the given Writer. * * @param out The Writer * @throws IOException

Throws:
java.io.IOException


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.