2015年8月28日

TableViewer使用

摘要: 1.自定义编辑器激活方式 /** * Create a customized editor whose activation process is customized * * @param viewer * the viewer the editor is created for ... 阅读全文

posted @ 2015-08-28 17:35 huadoumi 阅读(663) 评论(0) 推荐(0) 编辑

builder.properties

摘要: 请加上这句话: javacDefaultEncoding.. = UTF-8 阅读全文

posted @ 2015-08-28 17:21 huadoumi 阅读(134) 评论(0) 推荐(0) 编辑

Activator常用方法

摘要: 1.获取图片public static Image getImage(String key) { Image img = getDefault().getImageRegistry().get(key); if (img == null) { getDefault().getImageReg... 阅读全文

posted @ 2015-08-28 17:18 huadoumi 阅读(382) 评论(0) 推荐(0) 编辑

Web常用方法

摘要: 1.返回一个json格式报文 /** * 返回json格式字符串或普通字符串 * * @param jsonString */ protected void writeJson(String jsonString) { HttpServletResponse response = Ser... 阅读全文

posted @ 2015-08-28 14:49 huadoumi 阅读(206) 评论(0) 推荐(0) 编辑

Properties文件工具读取类

摘要: import java.io.IOException;import java.io.InputStream;import java.util.Properties;public class CommonPropertiesUtil { private static CommonProperties... 阅读全文

posted @ 2015-08-28 14:41 huadoumi 阅读(230) 评论(0) 推荐(0) 编辑

导航