system/io/FileOutputStream.php

Show: inherited
Table of Contents

\FileOutputStream

Package: phing\system\io

Output stream subclass for file streams.

Parent(s)
\OutputStream

Properties

Propertyprotected\PhingFile  $file= ''

The associated file.
Details
Type
\PhingFile

Methods

methodpublic__construct( mixed $file, boolean $append = false ) : void

Construct a new FileOutputStream.

Parameters
Name Type Description
$file mixed
$append boolean

Whether to append bytes to end of file rather than beginning.

Throws
Exception Description
\Exception - if invalid argument specified.
\IOException - if unable to open file.
methodpublic__toString( ) : string

Returns a string representation of the attached file.

Returns
Type Description
string
methodpublicclose( ) : void

methodpublicflush( ) : void

methodpublicwrite( ) : void

Documentation was generated by DocBlox 0.17.1.