会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
码家
Web Platform, Cloud and Mobile Application Development
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2013年5月8日
Java: Replace Strings in Streams, Arrays, Files etc.
摘要: http://tutorials.jenkov.com/java-howto/replace-strings-in-streams-arrays-files.html
阅读全文
posted @ 2013-05-08 19:37 海山
阅读(136)
评论(0)
推荐(0)
Filter (seach and replace) array of bytes in an InputStream
摘要: 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 海山
阅读(315)
评论(0)
推荐(0)