PipedInputStream in = new PipedInputStream();
PipedOutputStream out = new PipedOutputStream(in);
new Thread(
() -> {
try {
''''''''' //写入输出流
out.close();
} catch (IOException | DocumentException e) {
throw new RuntimeException(e);
}
}
).start();
//输入流in 处理
输出流转输入流
最新推荐文章于 2023-04-29 18:22:40 发布