InstantMessengerCategory

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IEquatable

public class InstantMessengerCategory implements System.IEquatable<InstantMessengerCategory>

Represents category for an instant messenger address

Constructors

Constructor Description
InstantMessengerCategory(String description) Initializes a new instance of the InstantMessengerCategory class with ‘Custom’ category.

Fields

Field Description
GOOGLE_TALK_VALUE String value for ‘GoogleTalk’ category
AIM_VALUE String value for ‘AIM’ category
YAHOO_VALUE String value for ‘Yahoo’ category
SKYPE_VALUE String value for ‘Skype’ category
QQ_VALUE String value for ‘QQ’ category
MSN_VALUE String value for ’’ category
ICQ_VALUE String value for ‘MSN’ category
JABBER_VALUE String value for ‘Jabber’ category
CUSTOM_VALUE String value for ‘Custom’ category
IM_ADDRESS_1_VALUE String value for ‘ImAddress1’ category
IM_ADDRESS_2_VALUE String value for ‘ImAddress2’ category
IM_ADDRESS_3_VALUE String value for ‘ImAddress3’ category

Methods

Method Description
getGoogleTalk() Google Talk
getAIM() AIM
getYahoo() Yahoo
getSkype() Skype
getQQ() QQ
getMSN() MSN
getICQ() ICQ
getJabber() Jabber
getCustom() Custom messenger kind
getImAddress1() ImAddress1 messenger kind
getImAddress2() ImAddress2 messenger kind
getImAddress3() ImAddress3 messenger kind
getValue() Gets category of an instant messenger address
getDescription() Gets description for the ‘Custom’ category of an instant messenger address
toString() Returns a string that represents the current object.
hashCode() GetHashCode returns a hash function for this object.
equals(Object obj) Determines whether the specified Object is equal to the current Object.
op_Equality(InstantMessengerCategory a, InstantMessengerCategory b) Determines whether the specified objects are equal.
op_Inequality(InstantMessengerCategory a, InstantMessengerCategory b) Determines whether the specified objects are not equal.
equals(InstantMessengerCategory other) Determines whether the specified object is equal to the current object.

InstantMessengerCategory(String description)

public InstantMessengerCategory(String description)

Initializes a new instance of the InstantMessengerCategory class with ‘Custom’ category.

Parameters:

Parameter Type Description
description java.lang.String Description for the ‘Custom’ category of an instant messenger address

GOOGLE_TALK_VALUE

public static final String GOOGLE_TALK_VALUE

String value for ‘GoogleTalk’ category

AIM_VALUE

public static final String AIM_VALUE

String value for ‘AIM’ category

YAHOO_VALUE

public static final String YAHOO_VALUE

String value for ‘Yahoo’ category

SKYPE_VALUE

public static final String SKYPE_VALUE

String value for ‘Skype’ category

QQ_VALUE

public static final String QQ_VALUE

String value for ‘QQ’ category

MSN_VALUE

public static final String MSN_VALUE

String value for ’’ category

ICQ_VALUE

public static final String ICQ_VALUE

String value for ‘MSN’ category

JABBER_VALUE

public static final String JABBER_VALUE

String value for ‘Jabber’ category

CUSTOM_VALUE

public static final String CUSTOM_VALUE

String value for ‘Custom’ category

IM_ADDRESS_1_VALUE

public static final String IM_ADDRESS_1_VALUE

String value for ‘ImAddress1’ category

IM_ADDRESS_2_VALUE

public static final String IM_ADDRESS_2_VALUE

String value for ‘ImAddress2’ category

IM_ADDRESS_3_VALUE

public static final String IM_ADDRESS_3_VALUE

String value for ‘ImAddress3’ category

getGoogleTalk()

public static InstantMessengerCategory getGoogleTalk()

Google Talk

Returns: InstantMessengerCategory

getAIM()

public static InstantMessengerCategory getAIM()

AIM

Returns: InstantMessengerCategory

getYahoo()

public static InstantMessengerCategory getYahoo()

Yahoo

Returns: InstantMessengerCategory

getSkype()

public static InstantMessengerCategory getSkype()

Skype

Returns: InstantMessengerCategory

getQQ()

public static InstantMessengerCategory getQQ()

QQ

Returns: InstantMessengerCategory

getMSN()

public static InstantMessengerCategory getMSN()

MSN

Returns: InstantMessengerCategory

getICQ()

public static InstantMessengerCategory getICQ()

ICQ

Returns: InstantMessengerCategory

getJabber()

public static InstantMessengerCategory getJabber()

Jabber

Returns: InstantMessengerCategory

getCustom()

public static InstantMessengerCategory getCustom()

Custom messenger kind

Returns: InstantMessengerCategory

getImAddress1()

public static InstantMessengerCategory getImAddress1()

ImAddress1 messenger kind

Returns: InstantMessengerCategory

getImAddress2()

public static InstantMessengerCategory getImAddress2()

ImAddress2 messenger kind

Returns: InstantMessengerCategory

getImAddress3()

public static InstantMessengerCategory getImAddress3()

ImAddress3 messenger kind

Returns: InstantMessengerCategory

getValue()

public final String getValue()

Gets category of an instant messenger address

Returns: java.lang.String

getDescription()

public final String getDescription()

Gets description for the ‘Custom’ category of an instant messenger address

Returns: java.lang.String

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - Returns a string that represents the current object.

hashCode()

public int hashCode()

GetHashCode returns a hash function for this object.

Returns: int - Returns a hash function for this object.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified Object is equal to the current Object.

Parameters:

Parameter Type Description
obj java.lang.Object The Object to compare with the current Object.

Returns: boolean - Returns a boolean indicating if the passed in object obj is Equal to this.

op_Equality(InstantMessengerCategory a, InstantMessengerCategory b)

public static boolean op_Equality(InstantMessengerCategory a, InstantMessengerCategory b)

Determines whether the specified objects are equal.

Parameters:

Parameter Type Description
a InstantMessengerCategory First object to compare
b InstantMessengerCategory Second object to compare

Returns: boolean - Returns true if objects are equal, otherwise false.

op_Inequality(InstantMessengerCategory a, InstantMessengerCategory b)

public static boolean op_Inequality(InstantMessengerCategory a, InstantMessengerCategory b)

Determines whether the specified objects are not equal.

Parameters:

Parameter Type Description
a InstantMessengerCategory First object to compare
b InstantMessengerCategory Second object to compare

Returns: boolean - Returns true if objects are not equal, otherwise false.

equals(InstantMessengerCategory other)

public boolean equals(InstantMessengerCategory other)

Determines whether the specified object is equal to the current object.

Parameters:

Parameter Type Description
other InstantMessengerCategory The object to compare with the current object.

Returns: boolean - true if the specified object is equal to the current object; otherwise, false.