摘要: public class CreateDelFileUtils implements Serializable{ /** * */ private static final long serialVersionUID = 6901439536149050733L; private CreateDelFileUtils(){} /** * 通过传入的当前用户,清空当前用户所在的个人excel文件生成文件夹. * @param employee 当前登录用户 */ public static String delAndCreateSessionUser(String userId ,... 阅读全文
posted @ 2013-08-11 11:04 程序员X 阅读(203) 评论(0) 推荐(0) 编辑
摘要: public class ChartUtil { public static ChartUtil chartUtil; private RoomViewsDataService roomViewsDataService; /** * 创建报表图 * @return * @throws IOException */ public static String createChartImage(String userId ,String userName , String livingId) throws IOException{ //生成3D折线图(柱状图只改方法名createLineC... 阅读全文
posted @ 2013-08-11 10:24 程序员X 阅读(489) 评论(0) 推荐(0) 编辑
摘要: import java.awt.Color;import java.awt.Dimension;import java.awt.Font;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.OutputStream;import java.text.SimpleDateFormat;import javax.swing.JPanel;import org.jfree.chart.ChartFactory;import org. 阅读全文
posted @ 2013-08-11 10:22 程序员X 阅读(913) 评论(0) 推荐(0) 编辑