org.jboss.messaging.core.postoffice.impl
Class AddressImpl
java.lang.Object
org.jboss.messaging.core.postoffice.impl.AddressImpl
- All Implemented Interfaces:
- Address
public class AddressImpl
- extends java.lang.Object
- implements Address
splits an address string into its hierarchical parts split by '.'
- Author:
- Andy Taylor
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AddressImpl
public AddressImpl(SimpleString address)
getAddress
public SimpleString getAddress()
- Specified by:
getAddress
in interface Address
getAddressParts
public SimpleString[] getAddressParts()
- Specified by:
getAddressParts
in interface Address
containsWildCard
public boolean containsWildCard()
- Specified by:
containsWildCard
in interface Address
getLinkedAddresses
public java.util.List<Address> getLinkedAddresses()
- Specified by:
getLinkedAddresses
in interface Address
addLinkedAddress
public void addLinkedAddress(Address address)
- Specified by:
addLinkedAddress
in interface Address
removeLinkedAddress
public void removeLinkedAddress(Address actualAddress)
- Specified by:
removeLinkedAddress
in interface Address
removeAddressPart
public void removeAddressPart(int pos)
- Specified by:
removeAddressPart
in interface Address
matches
public boolean matches(Address add)
- Specified by:
matches
in interface Address
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2006 JBoss Inc. All Rights Reserved.