码家

Web Platform, Cloud and Mobile Application Development

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年5月8日

摘要: http://tutorials.jenkov.com/java-howto/replace-strings-in-streams-arrays-files.html 阅读全文
posted @ 2013-05-08 19:37 海山 阅读(135) 评论(0) 推荐(0)

摘要: import java.io.*;import java.util.*;class ReplacingInputStream extends FilterInputStream { LinkedList<Integer> inQueue = new LinkedList<Integer>(); LinkedList<Integer> outQueue = new LinkedList<Integer>(); final byte[] search, replacement; protected ReplacingInputStream(Input 阅读全文
posted @ 2013-05-08 19:23 海山 阅读(313) 评论(0) 推荐(0)