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
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