摘要: 关于beanutilsbeanutils是apache开源组织中的一个包,主要是为了更好的让开发者隔离JAVA包中自带的及其strus,spring等框架中复杂的bean工具类的使用。开源地址:http://commons.apache.org/beanutils/这里主要介绍下beanutils下的ComparatorUtils的使用直接上代码public class Person { int id; private String name; int age; public int getId() { return id; } public ... 阅读全文
posted @ 2013-01-17 15:50 draem0507 阅读(6386) 评论(0) 推荐(0) 编辑
摘要: /** * <p> * Title: 创建对象的四种方式 * </p> * * * @author lwx * @version 1.0 * @create 2013 1 17 14:03:35 */public class CreateObj implements Cloneable,Serializable{ private static String filename = CreateObj.class.getResource("").getPath() + "/obj.txt"; static File file = ne 阅读全文
posted @ 2013-01-17 15:21 draem0507 阅读(8587) 评论(2) 推荐(1) 编辑
View Code