MyEclipse序列号生成器代码
package com.entity;
import java.io.*;
public class MyEclipseGen {
private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (doc.guandang.net). Under section 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years imprisonment for a first offense. Think about it; pay for a license, avoid prosecution, and feel better about yourself.";
public String getSerial(String userId, String licenseNum) {
java.util.Calendar cal = java.util.Calendar.getInstance();
cal.add(1, 3);
cal.add(6, -1);
java.text.NumberFormat nf = new java.text.DecimalFormat("000");
licenseNum = nf.format(Integer.valueOf(licenseNum));
String verTime = new StringBuilder("-").append(
new java.text.SimpleDateFormat("yyMMdd").format(cal.getTime())) .append("0").toString();
String type = "YE3MP-";
String need = new StringBuilder(userId.substring(0, 1)).append(type)
.append("300").append(licenseNum).append(verTime).toString(); String dx = new StringBuilder(need).append(LL).append(userId)
.toString();
int suf = this.decode(dx);
String code = new StringBuilder(need).append(String.valueOf(suf))
.toString();
return this.change(code);
}
private int decode(String s) {
int i;
char[] ac;
int j;
int k;
i = 0;
ac = s.toCharArray();
j = 0;
k = ac.length;
while (j < k) {
i = (31 * i) + ac[j];
j++;
}
myEclipse注册码生成器源码_计算机软件及应用_IT/计算机_专业资料。myEclipse注册码生成器源码import java.io.BufferedReader; import java.io.IOException; import ...
MyEclipse生成序列号方法_计算机软件及应用_IT/计算机_专业资料。自己生成mye...代码如下: package test; import java.io.BufferedReader; import java.io.IO...
MyEclipse注册码免费生成代码_计算机软件及应用_IT/计算机_专业资料。在 ...("Serial:" + res); //输出序列号信息 reader.readLine(); } catch (...
MyEclipse注册码生成_计算机软件及应用_IT/计算机_专业资料。MyEclipse注册码...注册码生成代码收集于网络,ohye.org.ru不负任何责任,如果您对本注册码生成程序...
myeclipse注册码生成器_工学_高等教育_教育专区。1. import java.io.BufferedReader; 2. import java.io.IOException; 3. import java.io.InputStreamReader...
//使用方法:新建一个.java文件,然后新建一个MyEclipseGen类,复制下面代码,运行程序。生成激活码Window-preferences-myeclipse-subscription,输入对应的就行了 import ...
myeclipse7.5 插件配置代码生成器 Bernie posted @ 2009 年 12 月 01 日 14:00 in JAVA with tags 插件 MyEclipse , 793 阅读 今天把自己的 myeclipse 从...
MyEclipse注册码生成程序_计算机软件及应用_IT/计算机_专业资料。主要生成MyEclipse6.0,6.5,7.0,8.5 等一系列版本的序列号程序,直接运行 输入用户名 然后...
import java.util.Scanner; /** * MyEclipse(8.0,7.5,7.0,6.5,6.0...)的注册码生成代码 */ public class MyEclipseKeyGen { private static final ...
MyEclipse6.5注册码生成器_计算机软件及应用_IT/计算机_专业资料。速度生成自己所需的MyEclipse6.5注册码。import java.text.DecimalFormat; import java.text....
热门文档