摘要: class Send implements Runnable{ PipedOutputStream pos = null; public Send() { this.pos = new PipedOutputStream(); } public PipedOutputStream getPipedOutputStream() { return this.pos; ... 阅读全文
posted @ 2017-07-09 21:46 午火39 阅读(260) 评论(0) 推荐(0)
摘要: //用内存,将小写字母替换成大写字母 String str = "helloworld,goodmorning"; ByteArrayOutputStream bos = null; ByteArrayInputStream bis = null; bis = new ByteArrayInputStream(str.getBytes()); ... 阅读全文
posted @ 2017-07-09 18:33 午火39 阅读(1461) 评论(0) 推荐(0)