Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.googlecontacts
Enum GoogleContactsEntry.IMProtocol

java.lang.Object
  extended by java.lang.Enum<GoogleContactsEntry.IMProtocol>
      extended by net.java.sip.communicator.service.googlecontacts.GoogleContactsEntry.IMProtocol
All Implemented Interfaces:
Serializable, Comparable<GoogleContactsEntry.IMProtocol>
Enclosing interface:
GoogleContactsEntry

public static enum GoogleContactsEntry.IMProtocol
extends Enum<GoogleContactsEntry.IMProtocol>

The supported IM protocol


Enum Constant Summary
AIM
          AIM protocol.
GOOGLETALK
          Google Talk protocol.
ICQ
          ICQ protocol.
JABBER
          Jabber protocol.
MSN
          MSN protocol.
OTHER
          Other protocol (i.e.
YAHOO
          Yahoo protocol.
 
Method Summary
static GoogleContactsEntry.IMProtocol valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GoogleContactsEntry.IMProtocol[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GOOGLETALK

public static final GoogleContactsEntry.IMProtocol GOOGLETALK
Google Talk protocol.


YAHOO

public static final GoogleContactsEntry.IMProtocol YAHOO
Yahoo protocol.


AIM

public static final GoogleContactsEntry.IMProtocol AIM
AIM protocol.


MSN

public static final GoogleContactsEntry.IMProtocol MSN
MSN protocol.


ICQ

public static final GoogleContactsEntry.IMProtocol ICQ
ICQ protocol.


JABBER

public static final GoogleContactsEntry.IMProtocol JABBER
Jabber protocol.


OTHER

public static final GoogleContactsEntry.IMProtocol OTHER
Other protocol (i.e. not supported).

Method Detail

values

public static GoogleContactsEntry.IMProtocol[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GoogleContactsEntry.IMProtocol c : GoogleContactsEntry.IMProtocol.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GoogleContactsEntry.IMProtocol valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.