system/io/OutputStreamWriter.php

Show: inherited
Table of Contents

Writer class for OutputStream objects.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.

Package
phing.system.io  

\OutputStreamWriter

Package: phing\system\io

Writer class for OutputStream objects.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.

Parent(s)
\Writer
Children
\FileWriter

Properties

Propertyprotected\OutputStream  $outStream= ''

Details
Type
\OutputStream

Methods

methodpublic__construct( \OutputStream $outStream ) : void

Construct a new OutputStreamWriter.

Parameters
Name Type Description
$outStream \OutputStream

OutputStream to write to

methodpublicclose( ) : void

Close the stream.

Throws
Exception Description
\IOException - if there is an error closing stream.
methodpublicflush( ) : void

Flush output to the stream.

methodpublicgetResource( ) : string

Gets a string representation of attached stream resource.

Returns
Type Description
string String representation of output stream
methodpublicwrite( \unknown_type $buf, \unknown_type $off = null, \unknown_type $len = null ) : \unknown

Write char data to stream.

Parameters
Name Type Description
$buf \unknown_type
$off \unknown_type
$len \unknown_type
Returns
Type Description
\unknown
Documentation was generated by DocBlox 0.18.1.