02 2012 档案

摘要:import org.joda.time.DateTime;import java.util.Date;public void setCreatedDate(Date createdDate) {this.createdDate = createdDate;}public void setCreatedDate(final DateTime createdDate) {this.createdDate = null == createdDate ? null : createdDate.toDate();}public DateTime getLastModifiedDate() {retur 阅读全文
posted @ 2012-02-28 17:26 柠檬Cool 阅读(6666) 评论(0) 推荐(0) 编辑
摘要:在Constants.java中:public static HashMap<String, String> getPhotoTypeMap() {HashMap<String, String> resultMap = new HashMap<String, String>();resultMap.put("jpg", "");resultMap.put("png", "");return resultMap;}@RequestMapping(value = "/upl 阅读全文
posted @ 2012-02-10 09:38 柠檬Cool 阅读(2848) 评论(0) 推荐(0) 编辑