摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.sprin 阅读全文
posted @ 2012-04-11 17:08 园林鸟 阅读(1513) 评论(0) 推荐(0)
摘要: package net.totosea.domain;import java.util.Collection;import java.util.HashMap;import java.util.Iterator;import java.util.Map;import java.util.Set;import java.util.regex.Matcher;import java.util.regex.Pattern;/** * 用Map来实现Json * * @author huang * */public class ResultJsonRange implements Map<Str 阅读全文
posted @ 2012-03-30 17:39 园林鸟 阅读(1341) 评论(0) 推荐(0)
摘要: Properties props = new Properties();InputStream in = new BufferedInputStream(new FileInputStream(GenPath .getAddress() + "\\city.properties")); BufferedReader bf = new BufferedReader(new InputStreamReader(in)); props.load(bf); Set<Object> list = props.keySet(); File f = new File(GenP 阅读全文
posted @ 2012-03-24 02:53 园林鸟 阅读(441) 评论(0) 推荐(0)