字节流:
输入流:
InputStream
FileInputStream
read()
resd(byte[] arr)
BufferedInputStream
read(int byte)
resd(byte[] arr)
输出流:
OutputStream
fileOutputStream
write()
write(byte[] arr)
BufferedOutputStream
write()
write(byte[] arr)
字符流:
输入流:
Reader
FileWriter
read()
read(char[] chars)
BufferedFileWriter
read()
read(char[] chars)
readLine()
InputInputStreamWriter
read()
resd(byte[] arr)
输出流:
Writer
FileReader
write()
wtite(String str)
write(char[] chars)
BufferedFileReader
write()
write(char[] chars)
newline()
OutputStreaReader
write()
write(byte[] arr)
|
|