??? BufferedReader in=new BufferedReader(
???????????????? new FileReader(
???????????????? "G:\\temp-workspace\\DONE\\src\\cn\\sccl\\common\\SystemConfiguration.java"));
???????? String s,s2=new String();
???????? while((s=in.readLine())!=null) s2+=s+"\n";
???????? System.out.println(s2);
???????? in.close();
???????
?? ?//从格式化内存读入
???????? try{
???????????? DataInputStream in3=new DataInputStream(
???????????????????? new ByteArrayInputStream(s2.getBytes()));
???????????? while(true)
???????????????? System.out.print((char)in3.readByte()+"\n");
???????? }catch(EOFException e){
???????????? System.err.println("End of stream");
???????? }c