jdk/src/java.base/share/classes/java/io/FileOutputStream.java
changeset 32033 bf24e33c7919
parent 28062 52b80a88a63b
child 32834 e1dca5fe4de3
equal deleted inserted replaced
32032:22badc53802f 32033:bf24e33c7919
    35 /**
    35 /**
    36  * A file output stream is an output stream for writing data to a
    36  * A file output stream is an output stream for writing data to a
    37  * <code>File</code> or to a <code>FileDescriptor</code>. Whether or not
    37  * <code>File</code> or to a <code>FileDescriptor</code>. Whether or not
    38  * a file is available or may be created depends upon the underlying
    38  * a file is available or may be created depends upon the underlying
    39  * platform.  Some platforms, in particular, allow a file to be opened
    39  * platform.  Some platforms, in particular, allow a file to be opened
    40  * for writing by only one <tt>FileOutputStream</tt> (or other
    40  * for writing by only one {@code FileOutputStream} (or other
    41  * file-writing object) at a time.  In such situations the constructors in
    41  * file-writing object) at a time.  In such situations the constructors in
    42  * this class will fail if the file involved is already open.
    42  * this class will fail if the file involved is already open.
    43  *
    43  *
    44  * <p><code>FileOutputStream</code> is meant for writing streams of raw bytes
    44  * <p><code>FileOutputStream</code> is meant for writing streams of raw bytes
    45  * such as image data. For writing streams of characters, consider using
    45  * such as image data. For writing streams of characters, consider using