blob: dd6274535e03f9eb5cbf2799de767dc9bf6845d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright 2007 The Android Open Source Project
package com.google.wireless.gdata.contacts.client;
import com.google.wireless.gdata.client.GDataClient;
import com.google.wireless.gdata.client.GDataParserFactory;
import com.google.wireless.gdata.client.GDataServiceClient;
/**
* GDataServiceClient for accessing Google Contacts. This client can access and
* parse the contacts feeds for specific user. The parser this class uses handle
* the XML version of feeds.
*/
public class ContactsClient extends GDataServiceClient {
/** Service value for contacts. */
public static final String SERVICE = "cp";
/**
* Create a new ContactsClient.
* @param client The GDataClient that should be used to authenticate
* if we are using the caribou feed
*/
public ContactsClient(GDataClient client, GDataParserFactory factory) {
super(client, factory);
}
/* (non-Javadoc)
* @see GDataServiceClient#getServiceName
*/
public String getServiceName() {
return SERVICE;
}
}
|