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.Scheme
or 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 class
IMHandle.Scheme
Supported IM schemes.
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(IMHandle o)
Sorts first by protocol, then by address.boolean
equals(@Nullable Object o)
String
getAddress()
String
getProtocol()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IMHandle
public IMHandle(IMHandle.Scheme scheme, String address)
-
-