08 2015 档案

摘要:String filepath = "E:\\config.xml"; HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("http://localhost:... 阅读全文
posted @ 2015-08-26 23:28 rubekid 阅读(1143) 评论(1) 推荐(0) 编辑
摘要:/** * 获得指定文件的byte数组 */ public static byte[] getBytes(String filePath){ byte[] buffer = null; try { File... 阅读全文
posted @ 2015-08-26 23:07 rubekid 阅读(507) 评论(0) 推荐(0) 编辑
摘要:http://mvnrepository.com/http://search.maven.org/http://repository.sonatype.org/content/groups/public/http://people.apache.org/repo/m2-snapshot-reposi... 阅读全文
posted @ 2015-08-23 18:03 rubekid 阅读(126) 评论(0) 推荐(0) 编辑
摘要:public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ... 阅读全文
posted @ 2015-08-19 21:46 rubekid 阅读(326) 评论(0) 推荐(0) 编辑
摘要:public class WebClient { public static final String POST_TYPE_JSON = "json"; public static final String POST_TYPE_MULTI = "multi"; publi... 阅读全文
posted @ 2015-08-19 17:27 rubekid 阅读(317) 评论(0) 推荐(0) 编辑
摘要:List command = new ArrayList(); command.add("ping"); ProcessBuilder processBuilder = new ProcessBuilder(command); Process... 阅读全文
posted @ 2015-08-13 22:40 rubekid 阅读(199) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示