/**@class java.io.FileOutputStream
@extends java.io.OutputStream

 A file output stream is an output stream for writing data to a
 <code>File</code> or to a <code>FileDescriptor</code>. 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 <tt>FileOutputStream</tt> (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.

 <p><code>FileOutputStream</code> is meant for writing streams of raw bytes
 such as image data. For writing streams of characters, consider using
 <code>FileWriter</code>.

 @author  Arthur van Hoff
 @see     java.io.File
 @see     java.io.FileDescriptor
 @see     java.io.FileInputStream
 @see     java.nio.file.Files#newOutputStream
 @since   JDK1.0
*/
var FileOutputStream = {

/**Writes the specified byte to this file output stream. Implements
 the <code>write</code> method of <code>OutputStream</code>.
@param {Number} b   the byte to be written.
@exception IOException  if an I/O error occurs.
*/
write : function(  ) {},

/**Writes <code>b.length</code> bytes from the specified byte array
 to this file output stream.
@param {Object {byte[]}} b   the data.
@exception IOException  if an I/O error occurs.
*/
write : function(  ) {},

/**Writes <code>len</code> bytes from the specified byte array
 starting at offset <code>off</code> to this file output stream.
@param {Object {byte[]}} b     the data.
@param {Number} off   the start offset in the data.
@param {Number} len   the number of bytes to write.
@exception IOException  if an I/O error occurs.
*/
write : function(  ) {},

/**Closes this file output stream and releases any system resources
 associated with this stream. This file output stream may no longer
 be used for writing bytes.

 <p> If this stream has an associated channel then the channel is closed
 as well.
@exception IOException  if an I/O error occurs.
@revised 1.4
@spec JSR-51
*/
close : function(  ) {},

/**Returns the file descriptor associated with this stream.
@return {Object {java.io.FileDescriptor}} the <code>FileDescriptor</code> object that represents
          the connection to the file in the file system being used
          by this <code>FileOutputStream</code> object.
@exception IOException  if an I/O error occurs.
@see java.io.FileDescriptor
*/
getFD : function(  ) {},

/**Returns the unique {@link java.nio.channels.java.io.FileChannel java.io.FileChannel}
 object associated with this file output stream.

 <p> The initial {@link java.nio.channels.FileChannel#position()
 position} of the returned channel will be equal to the
 number of bytes written to the file so far unless this stream is in
 append mode, in which case it will be equal to the size of the file.
 Writing bytes to this stream will increment the channel's position
 accordingly.  Changing the channel's position, either explicitly or by
 writing, will change this stream's file position.
@return {Object {java.nio.channels.FileChannel}} the file channel associated with this file output stream
@since 1.4
@spec JSR-51
*/
getChannel : function(  ) {},


};