摘要: 在java中,在多语言国际化时可以用 *.java 类来作为资源文件使用。1. 首先定义类, 类必须继承ListResourceBundle类所在路径为: src/I18N 1 public class myMessage_en_US extends ListResourceBundle { 2 ... 阅读全文
posted @ 2014-09-28 17:24 仰望星辰 阅读(2642) 评论(0) 推荐(0) 编辑
摘要: Basic Knowlege points:1: it's necessary that there is only one public class in per .java file2: .java file name should better to same as class name3: ... 阅读全文
posted @ 2014-09-28 11:30 仰望星辰 阅读(253) 评论(0) 推荐(0) 编辑