Input and Output Stream Pipe in Java

后端 未结 7 1633
闹比i
闹比i 2020-12-17 21:18

Does anyone have any good suggestions for creating a Pipe object in Java which is both an InputStream and and OutputStream since Java does not have multiple inherit

相关标签:
7条回答
  • 2020-12-17 21:58

    This is a pretty common thing to do, I think. See this question.

    Easy way to write contents of a Java InputStream to an OutputStream

    0 讨论(0)
提交回复
热议问题