摘要: String filepath = "E:\\config.xml"; HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("http://localhost:... 阅读全文
posted @ 2015-08-26 23:28 rubekid 阅读(1130) 评论(1) 推荐(0) 编辑
摘要: /** * 获得指定文件的byte数组 */ public static byte[] getBytes(String filePath){ byte[] buffer = null; try { File... 阅读全文
posted @ 2015-08-26 23:07 rubekid 阅读(498) 评论(0) 推荐(0) 编辑