用Java实现KeyFile

2012-11-12

  KeyFile的实现是这样

  /**

  * KeyFile

  * Date: 2008-6-30

  * Time: 13:35:26

  *

  * @author vhly[FR]

  */

  public class KeyFile {

  /*

  */

  private int keyType;

  private String keyVersion;

  private Date expiredDate;

  private String email;

  private String machinelInfo;

  private String userName;

  private String productName;

  private String productVersion;

  private String productBuild;

  private Date registerDate;

  private String serialNumber;

  private String verifyKey;

  private boolean evaluation;

  private String upgradeSN;

  private String tagValue;

  private int type;

  public String toXML(){

  String ret = null;

  StringBuffer ** = new StringBuffer();

  **.append("/n");

  **.append("/n");

  **.append("/n");

  **.append("/n");

  **.append("/n");

  **.append("/n");

分享到:
0
相关阅读
友情链接
© 2018 我考网 http://www.woexam.com 中国互联网举报中心 湘ICP备18023104号 京公网安备 11010802020116号
违法和不良信息举报:9447029@qq.com