摘要:
//日志文件 import org.apache.log4j.LogManager;import org.apache.log4j.Logger; private Logger logger = LogManager.getLogger(AlarmController.class); 阅读全文
摘要:
JSONObject jsonObject = new JSONObject(); map = alarmService.selectAlarmLiveIssue(endDate, taskDays,eci, issuetype); jsonObject.putAll(map, JsonObjectDefaultNullConfig.getInstance()); HandAppUtils.ret 阅读全文
摘要:
import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class MD5Util { //静态方法,便于作为工具类 public static String getMd5(String plainText) { try { MessageDigest md = Messag 阅读全文
摘要:
package com.icos.utility.utils; import java.io.OutputStream; import java.net.URLDecoder; import java.net.URLEncoder; import java.util.List; import javax.servlet.http.HttpServletResponse; import jxl.Ce 阅读全文
摘要:
/******************************************************************************* * Copyright (c) 2013. Pyrlong All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "Licens... 阅读全文
摘要:
package com.icos.utility.listsort; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; /** * 阅读全文
摘要:
package com.icos.utility.file; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Stack; import org.apache.log4j.Logger; import com.icos.utility.date.DateUtils; i... 阅读全文
摘要:
public static void copyTo(String srcName, String targetName) throws IOException { File file = new File(srcName); if (file.exists()) { BufferedInputStream inBuff = null; ... 阅读全文
摘要:
import java.text.DateFormat; import java.text.DateFormatSymbols; import java.text.FieldPosition; import java.text.Format; import java.text.ParseException; import java.text.ParsePosition; import java.... 阅读全文
摘要:
province1 = URLDecoder.decode(province,"utf-8") ; dimension1 = URLDecoder.decode(dimension ,"utf-8"); SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd"); java.util.Date date1 = sdf.parse(... 阅读全文