FileOutputStream Members

FileOutputStream Members

Class Overview | This Package | All Packages

Constructors
Name Description
FileOutputStream(File) Creates a file output stream to write to the specified File object.
FileOutputStream(FileDescriptor) Creates an output file stream to write to the specified file descriptor.
FileOutputStream(String) Creates an output file stream to write to the file with the specified name.
FileOutputStream(String, boolean) Creates an output file with the specified system dependent file name.

Methods
Name Description
close() Closes this file output stream and releases any system resources associated with this stream.
finalize() Ensures that the close method of this file output stream is called when there are no more references to this stream.
getFD() Returns the file descriptor associated with this stream.
write(byte[]) Writes b.length bytes from the specified byte array to this file output stream.
write(byte[], int, int) Writes len bytes from the specified byte array starting at offset off to this file output stream.
write(int) Writes the specified byte to this file output stream.