摘要: 1 import java.io.IOException; 2 import java.io.PipedInputStream; 3 import java.io.PipedOutputStream; 4 5 public class PipedInputStreamDemo { 6 public static void main(String[] args) throws IOException{ 7 PipedInputStream pis =new PipedInputStream(); 8 PipedOutputStream pos =ne... 阅读全文
posted @ 2012-06-22 13:28 Carve_Time 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1 import java.io.FileInputStream; 2 import java.io.FileNotFoundException; 3 import java.io.FileOutputStream; 4 import java.io.IOException; 5 import java.io.ObjectInputStream; 6 import java.io.ObjectOutputStream; 7 8 import reflect.Student; 9 10 public class ObjectInputStreamDemo {11 public sta... 阅读全文
posted @ 2012-06-22 11:35 Carve_Time 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1 import java.io.IOException; 2 import java.io.SequenceInputStream; 3 import java.util.Enumeration; 4 import java.util.Vector; 5 6 public class SequenceInputStreamDemo { 7 public static void main(String[] args) throws IOException{ 8 Vector<FileInputStream> v = new Vector<FileInputStrea... 阅读全文
posted @ 2012-06-22 11:13 Carve_Time 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 字节打印流PrintStream字符打印流PrintWriter 阅读全文
posted @ 2012-06-22 10:50 Carve_Time 阅读(126) 评论(0) 推荐(0) 编辑