httpclient得到gmai,yahoo列表
来源:互联网 发布:本子作者知乎 编辑:程序博客网 时间:2024/05/02 00:30
Importing contacts from these services very easy with the ContactListImporter library. The following code imports all contacts and prints them to System.out:
import com.xdatasystem.contactsimporter.*;
// automatically guess the correct implementaion based on the email address
ContactListImporter importer=ContactListImporterFactory.guess("someuser@hotmail.com","password");
List<Contact> contacts=importer.getContactList();
for(Contact c : contacts){
System.out.println("name: "+c.getName()+", email: "+c.getEmail());
}
Other ways to instantiate a ContactListImporter using the factory can be done as follows:
// creates an hotmail contact importer
importer=ContactListImporterFactory.hotmail("someuser@hotmail.com","password");
// creates an gmail contact importer
importer=ContactListImporterFactory.gmail("someuser@gmail.com","password");
具体地址:http://code.google.com/p/contactlistimporter/
- httpclient得到gmai,yahoo列表
- 得到应用列表
- android 得到应用列表
- OpenID 得到Microsoft、Google、Yahoo! 、IBM、VeriSign 支持, 前景看好
- Yahoo!
- 应用Winpcap得到网卡列表
- sql得到孩子节点列表
- 得到当前文件列表.bat
- 得到历史命令列表 history
- 如何得到系统音频设备列表
- 超级简单,获取Gmail、Yahoo、网易邮箱的联系人列表
- (转)获取Gmail、Yahoo、网易邮箱的联系人列表
- 利用apache的HttpClient组件得到http内容
- 输入一个手机号得到归属地——httpClient应用
- Http状态码-HttpClient得到状态码并返回信息
- 单击列表框得到列索引
- 得到进程列表的例子代码
- 如何得到mysql存储过程的列表
- Oracle常用命令
- 注册了好久!
- [摘自互联网]软件自动化框架的发展
- 研究生的学习
- 使用组件和对象
- httpclient得到gmai,yahoo列表
- 浅谈3G
- 加载Spring配置文件常用的三种方法
- [摘自互联网]软件需求的层次
- flash 容器滚动效果
- 免费图书下载
- Boyer-Moore 算法详解
- 过滤非法字符
- Ubuntu 库文件链接 搜索当前路径的问题