字節流-緩衝區類,html
a.輸入緩衝區:BufferedInputStreamjava
b.輸出緩衝區:BufferedOutputStreamcode
字符流-緩衝區類,htm
a.讀緩衝區:BufferedReaderget
b.寫緩衝區:BufferedWriterit
---------------------------------------------------------------io
總結:class
緩衝區類,都是對字節流/字符流基類的封裝總結
例如,co
InputStream is = getServletContext().getResourceAsStream(pathname); BufferedInputStream bis = new BufferedInputStream(is);
2.java.io包中的字節流(下)—— FilterInputStream和FilterOutputStream
3.