0
点赞
收藏
分享

微信扫一扫

输出流转输入流


PipedInputStream in = new PipedInputStream();
PipedOutputStream out = new PipedOutputStream(in);
new Thread(
() -> {
try {
''''''''' //写入输出流
out.close();
} catch (IOException | DocumentException e) {
throw new RuntimeException(e);
}
}
).start();
//输入流in 处理


举报

相关推荐

0 条评论