PipedWriter and PipedReader in Java
Pipes in Java IO provides the ability for two threads running in the same JVM to communicate. Therefore pipes can[…]
Read moreAmplify your java knowledge with javagyansite
Pipes in Java IO provides the ability for two threads running in the same JVM to communicate. Therefore pipes can[…]
Read more
CharArrayReader implements a character buffer that can be used as a character-input stream. When to use it? CharArrayReader is handy[…]
Read more
It extends Reader. A character stream whose source is a String. StringReader enables you to turn an ordinary String into[…]
Read more
ObjectInputStream enables us to read Java objects from an InputStream. We wrap an InputStream in a ObjectInputStream and then you[…]
Read more
ObjectOutputStream enables us to write Java objects to an OutputStream. You wrap an OutputStream in a ObjectOutputStream and then you[…]
Read more
Buffering can speed up IO quite a bit. Rather than writing one character at a time to the network or[…]
Read more
BufferedOutputStream extends FilterOutputStream. BufferedOutputStream implements a buffered output stream. By setting up such an output stream, an application can write bytes[…]
Read more
BufferedReader extends Reader. Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of[…]
Read more
BufferedInputStream extends FilterInputStream. A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support[…]
Read more
We use FileWriter to write characters to a file. FileWriter works much like the FileOutputStream except that a FileOutputStream is[…]
Read more