public class ToLog { public static void
main(String[] args) throws Exception { //准备日志文件 File f = new File("log.txt");
if(!f.ex...
分类:
其他好文 时间:
2014-07-22 23:12:54
阅读次数:
300
一、IO流的三种分类方式 1.按流的方向分为:输入流和输出流
2.按流的数据单位不同分为:字节流和字符流 3.按流的功能不同分为:节点流和处理流二、IO流的四大抽象类: 字符流:Reader Writer
字节流:InputStream(读数据) OutputStream(写数据)三、InputSt...
分类:
编程语言 时间:
2014-07-22 23:12:15
阅读次数:
423