IMHandle (Google App Engine API for Java)

Class IMHandle

  • java.lang.Object
  • All Implemented Interfaces:, java.lang.Comparable<IMHandle>

    public final class IMHandle
    extends java.lang.Object
    implements, java.lang.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 by IMHandle.Scheme or a URL identifying the IM network for the protocol (e.g.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  IMHandle.Scheme
      Supported IM schemes.
    • Field Summary

      Modifier and Type Field and Description
      static long serialVersionUID 
    • Constructor Summary

      Constructor and Description
      IMHandle(IMHandle.Scheme scheme, java.lang.String address) 
      IMHandle( network, java.lang.String address) 
    • Constructor Detail

      • IMHandle

        public IMHandle(IMHandle.Scheme scheme,
                        java.lang.String address)
      • IMHandle

        public IMHandle( network,
                        java.lang.String address)
    • Method Detail

      • getProtocol

        public java.lang.String getProtocol()
      • getAddress

        public java.lang.String getAddress()
      • equals

        public boolean equals(java.lang.Object o)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo(IMHandle o)
        Sorts first by protocol, then by address.
        Specified by:
        compareTo in interface java.lang.Comparable<IMHandle>
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java