java工具类
wanghua305
这个作者很懒,什么都没留下…
展开
-
文件上传中文路径乱码
public static String toUTF8(String str){ String rt = null; try { if(str!=null){ rt = new String(str.getBytes("gbk"),"UTF-8"); } } catch (UnsupportedEncodingException e) {...2009-03-11 15:03:11 · 335 阅读 · 0 评论 -
java 分页,工具类
page.java po package com.lehe.backAdmin.po; /** * @author wanghua *分页使用 * Dec 17, 2009 2:09:42 PM */ package com.lehe.backAdmin.po; /** * @author wanghua *分页使用 * Dec 17, 2009...原创 2010-01-05 17:32:41 · 88 阅读 · 0 评论 -
获得.properties文件参数
import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class SystemManager { static p...原创 2009-02-19 19:06:18 · 121 阅读 · 0 评论