摘要:
String filepath = "E:\\config.xml"; HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("http://localhost:... 阅读全文
摘要:
/** * 获得指定文件的byte数组 */ public static byte[] getBytes(String filePath){ byte[] buffer = null; try { File... 阅读全文