随笔分类 -  java后台

摘要:1 //待压缩的文件目录 2 String sourceFile=sourceFilePath+"\\"+userName; 3 //存放压缩文件的目录 4 String zipFilePath = sourceFilePath; 5 //zip文件名字,不加zip 方法里面有 6 fileN... 阅读全文
posted @ 2015-12-22 17:13 道行太浅 阅读(416) 评论(0) 推荐(0)
摘要:一、简介线程池类为 java.util.concurrent.ThreadPoolExecutor,常用构造方法为: ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit 阅读全文
posted @ 2015-12-22 17:08 道行太浅 阅读(300) 评论(0) 推荐(0)
摘要:1 package com.baqingshe.bjs.util; 2 3 import java.io.BufferedReader; 4 5 import java.io.IOException; 6 7 import java.io.InputStream; 8 9... 阅读全文
posted @ 2015-12-22 17:06 道行太浅 阅读(283) 评论(0) 推荐(0)