流写入内存PipedInputStream is = new PipedInputStream();
PipedOutputStream os = new PipedOutputStream(is);
os.write(doc.toString().getBytes());我怎样在读取呢 谢谢

解决方案 »

  1.   

    你使用多线程???为什么要用管道?如果非要用管道,既然你知道用PipedOutputStream写,为什么不知道用PipedInputStream 读?
      

  2.   


     flyforlove(吾将远去) ( ) 信誉:102    Blog   加为好友  可否留下你的QQ
    或msn 
    交流交流
      

  3.   

    sorry,公司上不了任何IM软件。不清楚你的系统架构,这很明显是个数据缓存的应用。