---
title: "File类创建流文件"
author: "and4walker"
date: "2007-09-05T15:06:05Z"
tags: []
slug: "file"
draft: false
lastmod: "2007-09-05T15:06:05Z"
id: 120655
url: "https://orz.iteye.com/blog/120655"
---

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

```