【JAVA io】学习记录

来源:互联网 发布:js返回顶部过渡 效果 编辑:程序博客网 时间:2024/06/02 22:25

IO学习

1.最基本是FileInputStream  FileOutputStream; used for bytes; method: read(), write(); return ascii code;

2.character: FileReader FlieWrier; used for characters. These classes are based on 1.

3.BufferReader PrintWriter:   method is readLine(); but return char code except  a line terminator. so the output file will have no line terminator.