软件包 | 描述 |
---|---|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
Modifier and Type | Method and Description |
---|---|
static BufferedWriter |
Files.newBufferedWriter(Path path, Charset cs, OpenOption... options)
打开或创建一个文件写入,返回一个
BufferedWriter ,可以有效的方式将文件写入文本。
|
static BufferedWriter |
Files.newBufferedWriter(Path path, OpenOption... options)
打开或创建一个文件写入,返回一个
BufferedWriter 能够以有效的方式的文件写入文本。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.