Friday, November 16, 2001 09:03 AM
What kind of piping are you talking about?
Do you mean:
$ java MyClass | grep "tidbit"
Or do you mean streaming data from one place to another?
In the case of streaming data, if you can open an
OutputStream to pretty much anything (a socket, a FIFO on a UNIX machine, a URLConnection, etc.) than you can just
write() to the stream.