solar.service.transport
Class AddressFactory

java.lang.Object
  |
  +--solar.service.transport.AddressFactory

public class AddressFactory
extends java.lang.Object

Address factory that parses different format of addresses.

Version:
$Id: AddressFactory.java,v 1.6 2003/10/05 18:51:01 glchen Exp $
Author:
Guanling Chen

Constructor Summary
AddressFactory()
           
 
Method Summary
static Address parseAddress(byte[] bytes)
          Parse an address from a byte array.
static Address parseAddress(byte[] bytes, int offset, int len)
          Parse an address from a byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressFactory

public AddressFactory()
Method Detail

parseAddress

public static Address parseAddress(byte[] bytes)
                            throws ParsingException
Parse an address from a byte array.

ParsingException

parseAddress

public static Address parseAddress(byte[] bytes,
                                   int offset,
                                   int len)
                            throws ParsingException
Parse an address from a byte array.

ParsingException