Class IMHandle
- java.lang.Object
-
- com.google.appengine.api.datastore.IMHandle
-
- All Implemented Interfaces:
Serializable,Comparable<IMHandle>
public final class IMHandle extends Object implements Serializable, Comparable<IMHandle>
An instant messaging handle. Includes both an address and its protocol. The protocol value is either a standard IM scheme (legal scheme values are defined byIMHandle.Schemeor a URL identifying the IM network for the protocol (e.g. http://aim.com/).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIMHandle.SchemeSupported IM schemes.
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IMHandle o)Sorts first by protocol, then by address.booleanequals(@Nullable Object o)StringgetAddress()StringgetProtocol()inthashCode()StringtoString()
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IMHandle
public IMHandle(IMHandle.Scheme scheme, String address)
-
-