会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YSHY
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
32
33
34
35
36
37
38
39
40
···
66
下一页
2015年4月4日
Itext 中的文本信息绝对定位
摘要: PdfContentByte pcb = pw.getDirectContent(); pcb.beginText(); pcb.setFontAndSize(bfChinese, 12); pcb.setTextMatrix(550...
阅读全文
posted @ 2015-04-04 09:16 yshy
阅读(2911)
评论(0)
推荐(0)
2015年4月3日
将日期yyyy-MM-dd转为数字大写的形式
摘要: /** * 将日期转大写 * 例如:2013-05-13转为 二0一三年五月十三日 * @param date * @return */ public static String getDxDate(String date){ Strin...
阅读全文
posted @ 2015-04-03 08:17 yshy
阅读(615)
评论(0)
推荐(0)
Servlet 中的out.print()与out.writer()的区别
摘要: PrintWriter out = response.getWriter();out.print(obj)其源码如下:public void print(Object obj) { write(String.valueOf(obj)); }public void print(String s)...
阅读全文
posted @ 2015-04-03 08:13 yshy
阅读(1513)
评论(1)
推荐(1)
2015年3月24日
DatePickerDialog 控制只选择年月或年或月
摘要: etXyLevelDate.setOnTouchListener(selectDateTouchListener());/** * @desc 选择日期操作 * @param @return * @return OnTouchListener * @throws ...
阅读全文
posted @ 2015-03-24 09:23 yshy
阅读(4078)
评论(0)
推荐(0)
2015年3月23日
Adt 配置注释模板
摘要: 点击Window->Preferences->Java->Code Style->Code Templates,如下图所示:选中,点击右侧的Edit进行编辑。
阅读全文
posted @ 2015-03-23 18:30 yshy
阅读(280)
评论(0)
推荐(0)
2015年3月21日
Log4j MDC Tomcat下报异常org.apache.log4j.helpers.ThreadLocalMap
摘要: 严重: The web application [/qdgswx] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org .apache.log4j.helper...
阅读全文
posted @ 2015-03-21 15:20 yshy
阅读(1253)
评论(0)
推荐(0)
2015年3月20日
forEach遍历对象数组案例
摘要: 运行结果:name:name1,age:21name:name2,age:22name:name3,age:23
阅读全文
posted @ 2015-03-20 17:34 yshy
阅读(1968)
评论(0)
推荐(0)
dom4j解析xml字符串
摘要: import java.util.Iterator;import java.util.List;import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.DocumentHelper;import or...
阅读全文
posted @ 2015-03-20 15:40 yshy
阅读(601)
评论(0)
推荐(0)
2015年3月19日
使用iText生成带底图的PDF
摘要: package com.wzh.itext;import com.itextpdf.text.Chunk;import com.itextpdf.text.Document;import com.itextpdf.text.DocumentException;import com.itextpdf....
阅读全文
posted @ 2015-03-19 08:41 yshy
阅读(976)
评论(0)
推荐(0)
2015年3月18日
Mysql 新建用户以及授权远程连接操作
摘要: 1:以root身份登陆mysql终端mysql -uroot -pmysql2:创建wx用户,注意密码要加单引号mysql> create user wx identified by 'wx';3:创建wx数据库mysql>create database wx;4:为用户wx授权使其拥有wx数据库的...
阅读全文
posted @ 2015-03-18 09:05 yshy
阅读(2017)
评论(0)
推荐(0)
上一页
1
···
32
33
34
35
36
37
38
39
40
···
66
下一页
公告