Package jade.util
Class TransportAddressWrapper
- java.lang.Object
-
- jade.util.TransportAddressWrapper
-
public class TransportAddressWrapper extends Object
This class wraps a Transport Address and implements the equals() and hashCode() methods so that two Transport Addresses representing the same address, even if possibly expressed in different forms, are actually considered equals.- Author:
- 00917536
-
-
Constructor Summary
Constructors Constructor Description TransportAddressWrapper(TransportAddress t)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)TransportAddressgetAddress()static TransportAddressWrappergetWrapper(String stringifiedTransportAddress, IMTPManager imtpManager)inthashCode()StringtoString()
-
-
-
Constructor Detail
-
TransportAddressWrapper
public TransportAddressWrapper(TransportAddress t)
-
-
Method Detail
-
getWrapper
public static TransportAddressWrapper getWrapper(String stringifiedTransportAddress, IMTPManager imtpManager) throws IMTPException
- Throws:
IMTPException
-
getAddress
public TransportAddress getAddress()
-
-