File类创建流文件

File f = new File("");
try {
    FileOutputStream fos = new FileOutputStream(f);
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(fos));		
} catch (FileNotFoundException e) {
	e.printStackTrace();
}

你可能感兴趣的:(F#)