// 实例化加载配置文件
WindowsLiveContacts contacts = new
WindowsLiveContacts(request, " Application-Contacts-Key.xml");
// 声明变量
List<Contact> list = null;
URL msnContactUrl = null;
// 判断是否可用
if (contacts.getIsValid()) {
list = contacts.getContacts();
} else {
msnContactUrl = contacts.getContactsUrl();
}

被折叠的 条评论
为什么被折叠?



