WEB开发网
开发学院软件开发Java 邀请QQ好友-QQ联系人导入(上) 阅读

邀请QQ好友-QQ联系人导入(上)

 2009-09-06 00:00:00 来源:WEB开发网   
核心提示: -QQContact.javaJava代码 packageqq;publicclassQQContact{privateStringqq;privateStringemail;privateStringname;publicQQContact(){}publicQQContact(Stringq

-------------QQContact.java----------------

Java代码

package qq; 
 
public class QQContact { 
 private String qq; 
 private String email; 
 private String name; 
 
 public QQContact(){} 
 public QQContact(String qq, String email, String name){ 
 this.qq = qq; 
 this.email = email; 
 this.name = name; 
 } 
 
 
 public String getQq() { 
 return qq; 
 } 
 public void setQq(String qq) { 
 this.qq = qq; 
 } 
 public String getEmail() { 
 return email; 
 } 
 public void setEmail(String email) { 
 this.email = email; 
 } 
 public String getName() { 
 return name; 
 } 
 public void setName(String name) { 
 this.name = name; 
 } 
 
 
} 
 

----------RSAInfo.java----------------------

Java代码   

package qq; 
 
public class RSAInfo { 
 private String publicKey; 
 private String ts; 
 private String domain; 
 
 public RSAInfo(){} 
 public RSAInfo(String publicKey, String ts, String domain){ 
 this.publicKey = publicKey; 
 this.ts = ts; 
 this.domain = domain; 
 } 
 
 public String getPublicKey() { 
 return publicKey; 
 } 
 public void setPublicKey(String publicKey) { 
 this.publicKey = publicKey; 
 } 
 public String getTs() { 
 return ts; 
 } 
 public void setTs(String ts) { 
 this.ts = ts; 
 } 
 public String getDomain() { 
 return domain; 
 } 
 public void setDomain(String domain) { 
 this.domain = domain; 
 } 
 
} 
 

上一页  1 2 3 4 5 6 7  下一页

Tags:邀请 QQ 好友

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接