亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

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

 更新時間:2014年01月09日 09:20:16   作者:  
本文為大家介紹不使用myeclipse注冊機(jī)就能得到myeclipse注冊碼(序列號)的方法, 運行下面的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項目,復(fù)制該代碼新建類MyEclipseGen,運行該代碼,在控制臺中會出現(xiàn):

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

please input register name:

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

即生成序列號: ××××× ××××× ×××××...

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

相關(guān)文章

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

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

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

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

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

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

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

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

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

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

    這篇文章主要介紹了Java Json字符串的雙引號("")括號如何去掉?具有很好的參考價值,希望對大家有所幫助。一起跟隨小編過來看看吧
    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)資料,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面來一起看看吧
    2018-06-06
  • Java8如何利用Lambda快速生成map、多層嵌套map

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

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

    Springboot @Value使用代碼實例

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

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

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

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

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

最新評論