加载中
easy poi 双行标题导出

List<ExcelExportEntity> entityList = new ArrayList<ExcelExportEntity>(); entityList.add(new ExcelExportEntity("姓名","studentName",20)); entityList.add(new ExcelExportEntity("班...

2019/04/09 18:38
2.8K
easypoi map 多sheet导出

package cn.thinkjoy.yucai.utils; import cn.afterturn.easypoi.excel.entity.ExportParams; import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; import cn.afterturn.easypoi.exc...

2019/03/15 08:35
8.1K
easy poi 简单导出

SerializeFilter[] filters = new SerializeFilter[]{simpleValueFilter}; JSONArray jsonListAll = JSONArray.parseArray(JSON.toJSONString(list,filters)); List<Map> listMap = JSONArra...

2019/03/06 14:00
49
chrome 调试 websocket

首次调试第4步看不到任何数据,因为chrome websocket的Frame默认是隐藏的,需要下拉拖动把socket的panel给拉出来

2019/02/11 14:24
1.5K
spring stomp websocket demo

配置信息 package com.ssyouxia.config; import java.util.Map; import javax.servlet.http.HttpSession; import org.springframework.context.annotation.Configuration; import org.spring...

2019/02/11 13:56
78
spring websocket demo

websocket 配置 package com.ssyouxia.config; import com.ssyouxia.handler.SpringWebSocketHandler; import com.ssyouxia.interceptors.SpringWebSocketHandlerInterceptor; import org.sp...

2019/02/11 13:26
94
java 组装树形结构

package cn.thinkjoy.kidscare.utils; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson....

2019/01/19 09:15
1.6K
Qualifier

<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager" > <property name="dataSource" ref="dataSource"/> <qualifier value="platfor...

2018/09/16 00:19
10
spring mvc test

import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mockito; import org.springframework.beans.factory.annotation.Autowired; impor...

poi comment

public static void main(String[] args) { try (FileOutputStream out = new FileOutputStream("/Users/chanming/work_note/abc.xls")) { HSSFWorkbook wb = new HSSFWorkboo...

POI
2018/08/26 23:16
243
poi 复制

package cn.thinkjoy.kidscare.utils; import java.util.HashMap; import java.util.Map; import org.apache.poi.hssf.usermodel.*; import org.apache.poi.hssf.util.CellRangeAddress; imp...

POI
2018/08/26 23:14
46
抽象类和接口的区别

  1. 抽象类可以提供成员方法的实现细节,而接口中只能存在public abstract 方法;   2. 抽象类中的成员变量可以是各种类型的,而接口中的成员变量只能是public static final类型的;  ...

2018/07/27 08:24
9
Spring上下文

Spring 自带了多种类型的的应用上下文。下面罗列的几个是你最有可能遇到的。 AnnotationConfigApplicationContext:从一个或多个基于Java的配置类中加载Spring应用上下文章。 AnnotationConf...

2018/07/24 22:05
45
Java 后台判断是否为ajax请求

/**    * 是否是Ajax请求    * @param request    * @return    */   public static boolean isAjax(ServletRequest request){     return "XMLHttpRequest".equalsIgnoreCase(((HttpServletReques...

2018/06/18 11:43
104
操作文件

Iterable<Path> dirs = FileSystems.getDefault().getRootDirectories();     for (Path name : dirs) {       System.err.println(name);     } 运行结果 C:\ D:\ E:\ F:\     Path path = Paths.g...

2018/03/27 21:53
6
javassist实现动态代理

创建被代理类 package javaassist; public class Hello { public void say() { System.out.println("Hello"); } } 创建MethodHandler package javaassist; import java....

2017/11/25 14:29
321
验证Servlet单例多线程

创建测试Servlet package handler; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; imp...

2017/11/25 11:00
81
java注解

注解Table package annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotatio...

2017/11/25 10:33
49
RBAC新解:基于资源的权限管理(Resource-Based Access Control)

转载自http://globeeip.iteye.com/blog/1236167

2017/10/24 22:33
130
Java进制转换的内部实现

package lookjob; public class App { final static char[] digits = { '0' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , 'a' , 'b' , ...

2017/10/11 22:25
58

没有更多内容

加载失败,请刷新页面

返回顶部
顶部