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 moreCharArrayReader implements a character buffer that can be used as a character-input stream. When to use it? CharArrayReader is handy[…]
Read moreIt extends Reader. A character stream whose source is a String. StringReader enables you to turn an ordinary String into[…]
Read moreObjectInputStream enables us to read Java objects from an InputStream. We wrap an InputStream in a ObjectInputStream and then you[…]
Read moreObjectOutputStream enables us to write Java objects to an OutputStream. You wrap an OutputStream in a ObjectOutputStream and then you[…]
Read moreBuffering can speed up IO quite a bit. Rather than writing one character at a time to the network or[…]
Read moreBufferedOutputStream extends FilterOutputStream. BufferedOutputStream implements a buffered output stream. By setting up such an output stream, an application can write bytes[…]
Read moreBufferedReader extends Reader. Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of[…]
Read moreBufferedInputStream extends FilterInputStream. A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support[…]
Read moreWe use FileWriter to write characters to a file. FileWriter works much like the FileOutputStream except that a FileOutputStream is[…]
Read more