Returns a output file stream to write to using the specified filename, file or file descriptor object.
Syntax
FileOutputStream( file )
FileOutputStream( filedescriptor )
FileOutputStream( name )
Parameters
file
|
a specified file object.
|
filedescriptor
|
the specified filedescriptor object.
|
name
|
the name of the file to open.
|
Returns
fileoutputstream
|
the new file output stream object.
|
Example
ofh = FileOutputStream( "results.txt" )
|