天天看點

緩沖位元組流

package New_IO;

import java.io.*;

public class Test {

public static void main(String[] args) {

try {

//緩沖位元組輸入流

// Test.testBufferedInputStream();

//緩沖位元組輸出流

// Test.testBufferedOutputStream();

//copy

Test.CopyFile(“F:\Java_project_new\src\New_IO\tt.txt”,“F:\Java_project_new\src\New_IO\tt2.txt”);

} catch (Exception e) {

e.printStackTrace();

}

繼續閱讀