flow3

来源:互联网 发布:秦始皇兵马俑知乎 编辑:程序博客网 时间:2024/05/21 11:27
package IOTEST;public class Flow3 {    public static void main(String[] args) {        //InputStreamReader,OutputStreamWriter        //用来在字节流和字符流之间做中介,是字节流通向字符流的桥梁。        //例如:        //在网络编程中,通常需要使用InputStreamReader和OutputStreamWriter在字节流和字符流之间进行转换。        //在网络编程中,通常需要使用InputStreamReader和OutputStreamWriter在字节流和字符流之间进行转换        //InputStream in=socket.getInputStream();        //InputStreamReader inreader=new InputStreamReader(in);    }}
原创粉丝点击