public class AddressImpl extends Object implements Address
WildcardConfiguration.getDelimiter()
as delimiter.Constructor and Description |
---|
AddressImpl(SimpleString address) |
AddressImpl(SimpleString address,
WildcardConfiguration wildcardConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
addLinkedAddress(Address address) |
boolean |
containsWildCard() |
boolean |
equals(Object o) |
SimpleString |
getAddress() |
SimpleString[] |
getAddressParts() |
List<Address> |
getLinkedAddresses() |
int |
hashCode() |
boolean |
matches(Address otherAddr)
This method should actually be called `isMatchedBy`.
|
void |
removeLinkedAddress(Address actualAddress) |
public AddressImpl(SimpleString address)
public AddressImpl(SimpleString address, WildcardConfiguration wildcardConfiguration)
public SimpleString getAddress()
getAddress
in interface Address
public SimpleString[] getAddressParts()
getAddressParts
in interface Address
public boolean containsWildCard()
containsWildCard
in interface Address
public List<Address> getLinkedAddresses()
getLinkedAddresses
in interface Address
public void addLinkedAddress(Address address)
addLinkedAddress
in interface Address
public void removeLinkedAddress(Address actualAddress)
removeLinkedAddress
in interface Address
public boolean matches(Address otherAddr)
Copyright © 2019 JBoss by Red Hat. All rights reserved.