summaryrefslogtreecommitdiff
path: root/src/com/google/wireless/gdata/contacts/data/ImAddress.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/google/wireless/gdata/contacts/data/ImAddress.java')
-rw-r--r--src/com/google/wireless/gdata/contacts/data/ImAddress.java59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/com/google/wireless/gdata/contacts/data/ImAddress.java b/src/com/google/wireless/gdata/contacts/data/ImAddress.java
deleted file mode 100644
index 291b4fa..0000000
--- a/src/com/google/wireless/gdata/contacts/data/ImAddress.java
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2007 The Android Open Source Project
-
-package com.google.wireless.gdata.contacts.data;
-
-/**
- * The ImAddress gdata type
- */
-public class ImAddress extends ContactsElement {
- public static final byte TYPE_HOME = 1;
- public static final byte TYPE_WORK = 2;
- public static final byte TYPE_OTHER = 3;
-
- public static final byte PROTOCOL_CUSTOM = 1;
- public static final byte PROTOCOL_AIM = 2;
- public static final byte PROTOCOL_MSN = 3;
- public static final byte PROTOCOL_YAHOO = 4;
- public static final byte PROTOCOL_SKYPE = 5;
- public static final byte PROTOCOL_QQ = 6;
- public static final byte PROTOCOL_GOOGLE_TALK = 7;
- public static final byte PROTOCOL_ICQ = 8;
- public static final byte PROTOCOL_JABBER = 9;
- public static final byte PROTOCOL_NONE = 10;
-
- private byte protocolPredefined;
- private String protocolCustom;
- private String address;
-
- public byte getProtocolPredefined() {
- return protocolPredefined;
- }
-
- public void setProtocolPredefined(byte protocolPredefined) {
- this.protocolPredefined = protocolPredefined;
- }
-
- public String getProtocolCustom() {
- return protocolCustom;
- }
-
- public void setProtocolCustom(String protocolCustom) {
- this.protocolCustom = protocolCustom;
- }
-
- public String getAddress() {
- return address;
- }
-
- public void setAddress(String address) {
- this.address = address;
- }
-
- public void toString(StringBuffer sb) {
- sb.append("ImAddress");
- super.toString(sb);
- sb.append(" protocolPredefined:").append(protocolPredefined);
- if (protocolCustom != null) sb.append(" protocolCustom:").append(protocolCustom);
- if (address != null) sb.append(" address:").append(address);
- }
-}