上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 34 下一页

2014年11月7日

复制全限定名

摘要: 往往复制类的全限定名时复制的是这种效果:cn/liuning/……如果想复制成点的:可以点User.java前面的加号,在里面的类上右击复制限定名,这样复制的就是cn.liuning.User 阅读全文

posted @ 2014-11-07 15:41 随风浪子的博客 阅读(438) 评论(0) 推荐(0) 编辑

eclipse格式化代码末班修改

摘要: 在窗口-》首选项-》输入format(格式)搜索,或者找Java-》代码样式-》格式化程序:几个内置的不能调格式化代码风格,但是可以根据内置的新建一个,出来很多选项,开始调吧。 阅读全文

posted @ 2014-11-07 10:49 随风浪子的博客 阅读(152) 评论(0) 推荐(0) 编辑

2014年10月19日

代码实现native2assci

摘要: 1 public static void main(String[] args) { 2 String unicode = ""; 3 String s="用户名"; 4 char[] charAry = new char[s.length()]; ... 阅读全文

posted @ 2014-10-19 00:54 随风浪子的博客 阅读(163) 评论(0) 推荐(0) 编辑

2014年10月9日

html转义函数

摘要: public static String filter(String message) { if (message == null) return (null); char content[] = new char[message.length()... 阅读全文

posted @ 2014-10-09 08:32 随风浪子的博客 阅读(533) 评论(0) 推荐(0) 编辑

2014年10月4日

java读取资源文件

摘要: ResourceBundle bundle = ResourceBundle.getBundle("cn.liuning.resource.MessageResource");bundle.getString("prompt.username") 阅读全文

posted @ 2014-10-04 17:08 随风浪子的博客 阅读(142) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 34 下一页

导航