FileOutputStream.this

Creates a file output stream to write to the file represented by the specified <code>File</code> object. A new <code>FileDescriptor</code> object is created to represent this file connection. <p> First, if there is a security manager, its <code>checkWrite</code> method is called with the path represented by the <code>file</code> argument as its argument. <p> If the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason then a <code>FileNotFoundException</code> is thrown.

@param file the file to be opened for writing. @exception FileNotFoundException if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason @exception SecurityException if a security manager exists and its <code>checkWrite</code> method denies write access to the file.

  1. this(string name)
  2. this(string name, bool append)
  3. this(File file)
    class FileOutputStream
    this
    (
    File file
    )

Meta