What are the packaged character classes?

When reading Java tutorials in the Basic I / O section, use InputStreamReaderand OutputStreamWriterwhen not prepackaged character stream classes.

1) What is Pepackaged character stream classes? Does this mean that the file already has some text!

+3
source share
2 answers

This term is rather vague and in fact seems undefined, so a good question.

As I understand it, this means things such as FileInputStream, FileOutputStream, ByteArrayOutputStream, etc. Classes that wrap a specific stream for you and provide the functionality needed to work with it.

, character not byte s, , Java String . , , byte, InputStreamReader byte character s.

, - , , , .

+1

, , Reader Writer. "" , . : FileReader, FileWriter; .

, , / , -.

: HTML. , , , - ; HTML, Reader ( !) (, , API , ).

+1

All Articles