欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

不使用myeclipse注冊(cè)機(jī)得到myeclipse注冊(cè)碼的方法(myeclipse序列號(hào))

 更新時(shí)間:2014年01月09日 09:20:16   作者:  
本文為大家介紹不使用myeclipse注冊(cè)機(jī)就能得到myeclipse注冊(cè)碼(序列號(hào))的方法, 運(yùn)行下面的JAVA代碼就可以了

復(fù)制代碼 代碼如下:

import java.io.BufferedReader;   
import java.io.IOException;   
import java.io.InputStreamReader;   
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 (http://www.loc.gov/copyright/legislation/dmca.pdf). 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++;   
   }   
   return Math.abs(i);   
}   
private String change(String s) {   
   byte[] abyte0;   
   char[] ac;   
   int i;   
   int k;   
   int j;   
   abyte0 = s.getBytes();   
   ac = new char[s.length()];   
   i = 0;   
   k = abyte0.length;   
   while (i < k) {   
    j = abyte0[i];   
    if ((j >= 48) && (j <= 57)) {   
     j = (((j - 48) + 5) % 10) + 48;   
    } else if ((j >= 65) && (j <= 90)) {   
     j = (((j - 65) + 13) % 26) + 65;   
    } else if ((j >= 97) && (j <= 122)) {   
     j = (((j - 97) + 13) % 26) + 97;   
    }   
    ac[i] = (char) j;   
    i++;   
   }   
   return String.valueOf(ac);   
}   
public MyEclipseGen() {   
   super();   
}   
public static void main(String[] args) {   
   try {   
    System.out.println("please input register name:");   
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));   
    String userId = null;   
    userId = reader.readLine();   
    MyEclipseGen myeclipsegen = new MyEclipseGen();   
    String res = myeclipsegen.getSerial(userId, "5");   
    System.out.println("Serial:" + res);   
    reader.readLine();   
   } catch (IOException ex) {   
   }   
}   

新建Java項(xiàng)目,復(fù)制該代碼新建類MyEclipseGen,運(yùn)行該代碼,在控制臺(tái)中會(huì)出現(xiàn):

復(fù)制代碼 代碼如下:

please input register name:

×××××(輸入你的name,隨便什么)

即生成序列號(hào): ××××× ××××× ×××××...

進(jìn)入myeclipse,在菜單中選擇 Myeclipse->Subscription Information 然后 輸入Subscriber和Subscription code即可。

相關(guān)文章

  • Java之String.format()方法案例講解

    Java之String.format()方法案例講解

    這篇文章主要介紹了Java之String.format()方法案例講解,本篇文章通過(guò)簡(jiǎn)要的案例,講解了該項(xiàng)技術(shù)的了解與使用,以下就是詳細(xì)內(nèi)容,需要的朋友可以參考下
    2021-08-08
  • java實(shí)現(xiàn)jdbc查詢結(jié)果集result轉(zhuǎn)換成對(duì)應(yīng)list集合

    java實(shí)現(xiàn)jdbc查詢結(jié)果集result轉(zhuǎn)換成對(duì)應(yīng)list集合

    本文給大家匯總介紹了java實(shí)現(xiàn)jdbc查詢結(jié)果集result轉(zhuǎn)換成對(duì)應(yīng)list集合,十分的簡(jiǎn)單,有相同需求的小伙伴可以參考下。
    2015-12-12
  • SpringCloud Gateway 利用 Mysql 實(shí)現(xiàn)動(dòng)態(tài)路由的方法

    SpringCloud Gateway 利用 Mysql 實(shí)現(xiàn)動(dòng)態(tài)路由的方法

    這篇文章主要介紹了SpringCloud Gateway 利用 Mysql 實(shí)現(xiàn)動(dòng)態(tài)路由的方法,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2021-02-02
  • Java位掩碼控制權(quán)限與(&)或(|)非(~)、>的介紹

    Java位掩碼控制權(quán)限與(&)或(|)非(~)、>的介紹

    今天小編就為大家分享一篇關(guān)于Java位掩碼控制權(quán)限與(&)或(|)非(~)、>的介紹,小編覺得內(nèi)容挺不錯(cuò)的,現(xiàn)在分享給大家,具有很好的參考價(jià)值,需要的朋友一起跟隨小編來(lái)看看吧
    2019-03-03
  • Java Json字符串的雙引號(hào)(

    Java Json字符串的雙引號(hào)("")括號(hào)如何去掉

    這篇文章主要介紹了Java Json字符串的雙引號(hào)("")括號(hào)如何去掉?具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過(guò)來(lái)看看吧
    2020-09-09
  • Java并發(fā)編程學(xué)習(xí)之Unsafe類與LockSupport類源碼詳析

    Java并發(fā)編程學(xué)習(xí)之Unsafe類與LockSupport類源碼詳析

    這篇文章主要給大家介紹了關(guān)于Java并發(fā)編程學(xué)習(xí)之Unsafe類與LockSupport類源碼的相關(guān)資料,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面來(lái)一起看看吧
    2018-06-06
  • Java8如何利用Lambda快速生成map、多層嵌套map

    Java8如何利用Lambda快速生成map、多層嵌套map

    這篇文章主要介紹了Java8如何利用Lambda快速生成map、多層嵌套map問(wèn)題,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2022-09-09
  • Springboot @Value使用代碼實(shí)例

    Springboot @Value使用代碼實(shí)例

    這篇文章主要介紹了Springboot @Value使用代碼實(shí)例,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下
    2019-11-11
  • 學(xué)習(xí)Java的9張思維導(dǎo)圖

    學(xué)習(xí)Java的9張思維導(dǎo)圖

    這篇文章主要為大家詳細(xì)介紹了學(xué)習(xí)Java的9張思維導(dǎo)圖,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2018-03-03
  • Java并發(fā)編程之ReentrantLock可重入鎖的實(shí)例代碼

    Java并發(fā)編程之ReentrantLock可重入鎖的實(shí)例代碼

    這篇文章主要介紹了Java并發(fā)編程之ReentrantLock可重入鎖的實(shí)例代碼,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2021-02-02

最新評(píng)論