[JAVA API] java.io.FileWriter :: 소림사의 홍반장!

[JAVA API] java.io.FileWriter

2012. 8. 8. 14:48 - 삘쏘굿
java.io

Class FileWriter

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable


    public class FileWriter
    extends OutputStreamWriter
    Convenience class for writing character files. The constructors of this class assume that the default character encoding and the default byte-buffer size are acceptable. To specify these values yourself, construct an OutputStreamWriter on a FileOutputStream.

    Whether or not a file is available or may be created depends upon the underlying platform. Some platforms, in particular, allow a file to be opened for writing by only one FileWriter (or other file-writing object) at a time. In such situations the constructors in this class will fail if the file involved is already open.

    FileWriter is meant for writing streams of characters. For writing streams of raw bytes, consider using a FileOutputStream.

    Since:
    JDK1.1
    See Also:
    OutputStreamWriter, FileOutputStream

'Dev. 자바 > API 및 이론' 카테고리의 다른 글

[JAVA API] java.lang.Thread  (0) 2012.09.03
[JAVA API] java.util.HashSet<E>  (0) 2012.09.01
[JAVA API] java.io.FileReader  (0) 2012.08.08
[JAVA API] java.io.FileOutputStream  (0) 2012.08.08
[JAVA API] java.io.FileInputStream  (0) 2012.08.08

다른 카테고리의 글 목록

Dev. 자바/API 및 이론 카테고리의 포스트를 톺아봅니다