File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes How to use piped stream classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "How to use piped stream classes" Watch "How to use piped stream classes" New topic

How to use piped stream classes

Bhupinder Dhillon
Ranch Hand

Joined: Oct 12, 2000
Posts: 124
Does anyone have a link to a tutorial about usage of PipedOutputStream and PipedInputStream classes? OR can someone explain exactly how to use PipedOutputStream and PipedInputStream classes? I want to run two processes where process one would feed it's output to process two.
Any help is appreciated.
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Try this. It's Sun's tutorial, their I/O track is actually perty darn good.
I agree. Here's the link:
subject: How to use piped stream classes
It's not a secret anymore!