上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 32 下一页
摘要: public class StreamUtil { private static final Logger LOGGER = LoggerFactory.getLogger(StreamUtil.class); /** * 从输入流中获取字符串 * @param is * @return */ pu 阅读全文
posted @ 2020-10-29 15:04 爱跳舞的程序员 阅读(126) 评论(0) 推荐(0)
摘要: String dirPath = fhycgzController.class.getClassLoader().getResource("/").getPath() + File.separator + "conf"; Properties p = new Properties(); p.load 阅读全文
posted @ 2020-10-29 15:02 爱跳舞的程序员 阅读(99) 评论(0) 推荐(0)
摘要: /** * 数组工具类 */ public class ArrayUtil { /** * 判断数组是否为空 * @param array * @return */ public static boolean isNotEmpty(Object[] array){ return !isEmpty(a 阅读全文
posted @ 2020-10-29 15:01 爱跳舞的程序员 阅读(89) 评论(0) 推荐(0)
摘要: package com.***.util; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import java.util.Collec 阅读全文
posted @ 2020-10-29 14:56 爱跳舞的程序员 阅读(143) 评论(0) 推荐(0)
摘要: package com.***.util; /** * CastUtil * @description: 数据转型工具类 **/ public class CastUtil { /** * @Description: 转为String类型 * @Param: [obj] * @return: jav 阅读全文
posted @ 2020-10-29 14:55 爱跳舞的程序员 阅读(187) 评论(0) 推荐(0)
摘要: package com.***.util; /** * StringUtil * @description: 字符串工具类 **/ public class StringUtil { /** * 判断是否为空字符串最优代码 * @param str * @return 如果为空,则返回true */ 阅读全文
posted @ 2020-10-29 14:50 爱跳舞的程序员 阅读(175) 评论(0) 推荐(0)
摘要: package com.xxx.util; import java.io.PrintWriter; import java.io.StringWriter; import java.security.MessageDigest; import java.text.DecimalFormat; imp 阅读全文
posted @ 2020-10-29 14:48 爱跳舞的程序员 阅读(309) 评论(0) 推荐(0)
摘要: 其他注解可以查看这个链接http://www.blogjava.net/supercrsky/articles/247449.html public class RESTUtil { protected static final Logger logger = LoggerFactory.getLo 阅读全文
posted @ 2020-10-29 10:10 爱跳舞的程序员 阅读(350) 评论(0) 推荐(0)
摘要: web.xml 配置 <servlet> <servlet-name>jerseyRestService</servlet-name> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-clas 阅读全文
posted @ 2020-10-28 16:46 爱跳舞的程序员 阅读(484) 评论(0) 推荐(0)
摘要: //判断字符是否为空 function isEmpty(obj){ return (typeof obj 'undefined' || obj null || obj ""); } function isEmpty(str){ if(str != null && trim(str).length > 阅读全文
posted @ 2020-10-27 17:57 爱跳舞的程序员 阅读(2724) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 32 下一页