answersLogoWhite

0

What is stream reader?

User Avatar

Anonymous

15y ago
Updated: 6/26/2022

In general terms, an input stream reader in Java is a program or class used to read an input stream as a sequence of characters (as opposed to bytes). A stream is an I/O connection to an external resource such as a file, socket or URL, that exchanges bytes with that resource. "Input" refers to the fact that the information flows from the external resource into the program. A reader translates a byte sequence into characters (more precisely, Unicode code points) according a particular encoding. Specifically, the class java.io.InputStreamReader is a reader that can convert any instantiated input stream into characters according to a particular encoding.

<http://download.oracle.com/javase/7/docs/api/java/io/InputStreamReader.html>

<http://download.oracle.com/javase/tutorial/essential/io/fileio.html>

Always read the documentation!

What else can I help you with?

Related Questions

Stream of consciousness is an effective technique for what?

letting a reader into the writer's emotional world. -apex


What is stream reader in java?

It reads bytes and decodes them into characters using a specified charset.


What is input stream reader?

In general terms, an input stream reader in Java is a program or class used to read an input stream as a sequence of characters (as opposed to bytes). A stream is an I/O connection to an external resource such as a file, socket or URL, that exchanges bytes with that resource. "Input" refers to the fact that the information flows from the external resource into the program. A reader translates a byte sequence into characters (more precisely, Unicode code points) according a particular encoding. Specifically, the class java.io.InputStreamReader is a reader that can convert any instantiated input stream into characters according to a particular encoding. &lt;http://download.oracle.com/javase/7/docs/api/java/io/InputStreamReader.html&gt; &lt;http://download.oracle.com/javase/tutorial/essential/io/fileio.html&gt; Always read the documentation!


Why do authors use stream of consciousness as a narrative technique?

it gives the reader deep insight into a narrator's interpretation of events in a raw and unpolished manner


What should you buy an e reader or an iPad?

If all you want to do is read books and want a light unit with long battery life, buy an e-reader. If you want to run games, business apps, stream videos, do video conference calling and such, buy an iPad.


Explain working of VCR vcd audio CD player and lcd projector?

VCD player has a few main components: 1) CD reader (any cheap CD-ROM drive will do, 1X is all required) 2) a decoder (in embedded firmware) to decode MPEG stream to video 3) a video graphic circuitry with audio and TV-OUT All these are controlled by a little micro processor. The CD reader read the MPEG stream from the CD media, the microcontroller then decode that stream to put data in a video buffer which is display by the video graphic circuitry.


Why might a writer choose to use stream of consciouness?

A writer might choose to use stream of consciousness to provide a raw and unfiltered insight into a character's thoughts and emotions. This technique allows for a deeper exploration of a character's psyche and can create an intimate connection with the reader by immersing them in the character's inner world.


The windy preamble the stream of consciousness ramble the knee jerk reaction the glancing blow and the let the reader do the work are all examples of?

These are examples of bad critical thinking.


A meander generally characterizes which type of stream steep stream a young stream a narrow stream or a mature stream?

A mature stream.


What actors and actresses appeared in Poems and Pints - 1972?

The cast of Poems and Pints - 1972 includes: Ryan Davies as Himself - Reader Meredith Edwards as Himself - Reader Clive Graham as Himself - Reader Ray Handy as Himself - Reader Glyn Houston as Himself - Reader Nerys Hughes as Herself - Reader Brian Jacques as Himself - Reader Brinley Jenkins as Himself - Reader John Laurie as Himself - Reader David Lyn as Himself - Reader Joe Lynch as Himself - Reader Ruth Madoc as Herself - Reader Philip Madoc as Himself - Reader Rose McBain as Herself - Reader Phil McCall as Himself - Reader Elizabeth Morgan as Herself - Reader Gaynor Morgan Rees as Herself - Reader Artro Morris as Himself - Reader Sion Probert as Himself - Reader Olwen Rees as Herself - Reader Talfryn Thomas as Himself - Reader Anne Valery as Herself - Reader


What is it like to read a stream of consciousness narrative?

Reading a stream of consciousness narrative can be disorienting as the thoughts and feelings of the characters are often presented without a clear structure or order. This style of writing can provide insight into the character's inner thoughts and emotions, but it may also require a heightened level of focus and interpretation from the reader to piece together the narrative.


What is BufferedReader in Java Programming?

BufferedReader is a class used to read text from charater-input stream and buffering characters which reads characters, arrays, and new lines. In general, each read request made using "Reader" class, causes a corresponding read request to be made of the underlying character or byte stream. It is therefore advisable to wrap a BufferedReader around any Reader whose read() operations may be costly, such as FileReaders and InputStreamReaders. For example, BufferedReader in = new BufferedReader(new FileReader("foo.in"));