摘要:
再也不用为 myeclipse 注册码而百度了,而且百度的信息太多很多都是不行的,只要运行下面这段代码就可生成自己独一无二的注册码啦View Code 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 (http:// 阅读全文
摘要:
1、英文版win7系统中文乱码:如 安装的软件乱码,txt文件乱码1、进入控制面板 Start --> Control Panel2、进入 Region and Language3、找到 Administrative 选项卡,点击 Change system locale···,进入 Region and Language Setting, 在 Current system locale:的下拉框选着 Chinese(Simplified,PRC).4、重启系统.2、copy到Eclipse、myeclipse 工作区的代码中文乱码1、点击菜单 Window 阅读全文
摘要:
1、按字节读取文件内容View Code public class ReadFromFile { public static void readFileByBytes(String fileName) { File file = new File(fileName); InputStream in = null; try { System.out.println("以字节为单位读取文件内容,一次读一个字节:"); // 一次读一个字节 in = new FileInputSt... 阅读全文