java - Use cases of PipedInputStream and PipedOutputStream -


What are the cases of using Piped Currents? Why not just read the data in buffer and then write them down? One advantage of using Piped streams is that they provide our functionality without our robustness to stream our code. Special currents

For example, we can use pipes to create a simple logging feature for our application. We can send messages to the logging facility through Ordinity Printstarter and then, whatever processing or buffering is necessary, before sending the message to the final destination can do it. / P>

See more details:


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -