上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 72 下一页
摘要: 实际注入的是抽象类的子类 阅读全文
posted @ 2017-09-09 12:29 tonggc1668 阅读(459) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/csdnliuxin123524/article/details/80032262 public class InnerSingleton { private static class Singleton{ private static InnerSing 阅读全文
posted @ 2017-09-08 14:39 tonggc1668 阅读(77) 评论(0) 推荐(0)
摘要: applicationContext-common-threadpool.xml 阅读全文
posted @ 2017-09-07 10:21 tonggc1668 阅读(126) 评论(0) 推荐(0)
摘要: import java.lang.reflect.Method; @SuppressWarnings("rawtypes") public class ReflectionUtil { @SuppressWarnings("unchecked") public static Object invokeStaticMethod(String className, String ... 阅读全文
posted @ 2017-09-05 10:16 tonggc1668 阅读(159) 评论(0) 推荐(0)
摘要: import java.io.IOException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.apache.h... 阅读全文
posted @ 2017-09-04 17:20 tonggc1668 阅读(144) 评论(0) 推荐(0)
摘要: import java.io.ByteArrayInputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.codec.binary.Base64; import org.apac... 阅读全文
posted @ 2017-09-04 15:51 tonggc1668 阅读(139) 评论(0) 推荐(0)
摘要: public static String invoke(String jsondata, String url, String appsecret, String account, String version) throws Exception { byte[] dataAssembleByte = RSAUtils.encryptByPublicKey(jsondat... 阅读全文
posted @ 2017-09-04 10:35 tonggc1668 阅读(208) 评论(0) 推荐(0)
摘要: import java.util.regex.Matcher; import java.util.regex.Pattern; String s = "c:\\test.txt"; //String regEx = ".+[\\\\]{0,}.+$"; String regEx = "\\\\"; 阅读全文
posted @ 2017-08-30 10:51 tonggc1668 阅读(196) 评论(0) 推荐(0)
摘要: [2, 3, 4, 5, 6, 8] 阅读全文
posted @ 2017-08-19 21:00 tonggc1668 阅读(109) 评论(0) 推荐(0)
摘要: public class FileRecursive { public static void main(String[] args) { File file=new File("D:/"); testFile(file); } public static void testFile(File file){ if (file.isDirectory()) { ... 阅读全文
posted @ 2017-08-19 18:00 tonggc1668 阅读(178) 评论(0) 推荐(0)
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 72 下一页