摘要: 来自:http://wuhongyu.iteye.com/blog/8067911.String to inputStreamInputStream is = new ByteArrayInputStream(string.getBytes()); 2.InputStream to String ByteArrayOutputStream baos = new ByteArrayOutputStream(); int i; while ((i = is.read()) != -1) { baos.write(i); } String str = baos.to... 阅读全文
posted @ 2013-08-09 11:18 曦之易夕 阅读(610) 评论(0) 推荐(0) 编辑