会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
void
博客园
首页
新随笔
联系
订阅
管理
2019年9月5日
中文转unicode
摘要: String str = "中文转unicode"; char[] utfBytes = str.toCharArray(); String unicodeBytes = ""; for (int i = 0; i < utfBytes.length; i++) { String hexB = In
阅读全文
posted @ 2019-09-05 17:30 it-ayong
阅读(268)
评论(0)
推荐(0)
2019年2月26日
org.apache.log4j.Logger的用法
摘要: private Logger log = Logger.getLogger(this.getClass());
阅读全文
posted @ 2019-02-26 11:15 it-ayong
阅读(218)
评论(0)
推荐(0)
2019年2月12日
java解决导出excel中文名字乱码
摘要: String fileName = new String( "中文名称".getBytes(), "ISO8859-1"); 或者 String fileName=URLEncoder.encode("中文名称","utf-8");
阅读全文
posted @ 2019-02-12 14:22 it-ayong
阅读(1574)
评论(0)
推荐(0)
2019年1月14日
oracle添加,修改,删除字段
摘要: 添加字段 alter table 表名 add column_name varchar2(32); 或者 alter table 表名 add (column_name1 varchar2(32),column_name2 varchar2(32),....); 修改字段类型 alter table
阅读全文
posted @ 2019-01-14 16:00 it-ayong
阅读(219)
评论(0)
推荐(0)