• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Vic_Ruan
博客园    首页    新随笔    联系   管理    订阅  订阅
2013年4月8日
乱码解决
摘要: public static String replaceCharacter (String str) {if(str == null){ return ""; }Matcher m = Pattern.compile("<a\\s?[^>]+>", Pattern.CASE_INSENSITIVE).matcher(str);if(m.find()){str = m.replaceAll("<a>");} StringBuffer unicodeStr = new StringBuffer("& 阅读全文
posted @ 2013-04-08 17:20 Vic_Ruan 阅读(124) 评论(0) 推荐(0)
Jfreechart
摘要: import java.awt.Color;import java.io.ByteArrayOutputStream;import java.io.File;import java.io.IOException;import org.jfree.chart.ChartFactory;import org.jfree.chart.ChartUtilities;import org.jfree.chart.JFreeChart;import org.jfree.chart.axis.NumberAxis;import org.jfree.chart.axis.NumberTickUnit;impo 阅读全文
posted @ 2013-04-08 15:16 Vic_Ruan 阅读(445) 评论(0) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3