IO lib

byte type

r

stream: chieu fai k xac dinh

OutputStream

FileOutputStream

r

Ghi text, unicode

FilterOutputStream

DataOutputStream

PrintStream

BufferedOutputStream

InputStream

FilterInputStream

BufferedInputStream

DataInputStream

LineNumberInputStream

PushBackInputStream

ByteArrayInputStream

StringBufferInputStream

SequenceInputStream

PipedInputStream

FileInputStream

r

Doc text, unicode

Text type

Reader

CharArrayReader

FilterReader

InputStreamReader

r

Đọc từ InputStream ->characternew BufferedReader(new InputStreamReader)

PipedReader

StringReader

FileReader

r

exception FileNotFoundExceptionOnly ASCII for void read()

Writer

FileWriter

r

Unicode

CharArrayWriter

OutputStreamWriter

PipedWriter

StringWriter

PrintWriter

r

Đưa dữ liệu Unicode ra ngoài

Doi tuong co san

System.err

System.out

System.in

Cấp cao

BufferReader

r

Đọc từ 1 reader khác