phing-system-io
[ class tree: phing-system-io ] [ index: phing-system-io ] [ all elements ]

Class: OutputStreamWriter

Source Location: /system/io/OutputStreamWriter.php

Class Overview

Writer
   |
   --OutputStreamWriter

Writer class for OutputStream objects.


Variables

Methods


Child classes:

FileWriter
Convenience class for performing file write operations.

Inherited Methods

Class: Writer

Writer::close()
Close the stream.
Writer::flush()
Flush the stream, if supported by the stream.
Writer::getResource()
Returns a string representation of resource filename, url, etc. that is being written to.
Writer::write()
Writes data to output stream.

Class Details

[line 34]
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.




[ Top ]


Class Variables

$outStream =

[line 39]



Tags:

access:  protected

Type:   OutputStream


[ Top ]



Class Methods


constructor __construct [line 45]

OutputStreamWriter __construct( OutputStream $outStream)

Construct a new OutputStreamWriter.



Tags:

access:  public


Overridden in child classes as:

FileWriter::__construct()
Construct a new FileWriter.

Parameters:

OutputStream   $outStream   OutputStream to write to

[ Top ]

method close [line 52]

void close( )

Close the stream.



Tags:

access:  public


Overrides Writer::close() (Close the stream.)

[ Top ]

method flush [line 71]

void flush( )

Flush output to the stream.



Tags:

access:  public


Overrides Writer::flush() (Flush the stream, if supported by the stream.)

[ Top ]

method getResource [line 80]

string getResource( )

Gets a string representation of attached stream resource.



Tags:

return:  String representation of output stream
access:  public


Overrides Writer::getResource() (Returns a string representation of resource filename, url, etc. that is being written to.)

[ Top ]

method write [line 64]

unknown write( unknown_type $buf, [unknown_type $off = null], [unknown_type $len = null])

Write char data to stream.



Tags:

access:  public


Overrides Writer::write() (Writes data to output stream.)

Parameters:

unknown_type   $buf  
unknown_type   $off  
unknown_type   $len  

[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:51:21 +0200 by phpDocumentor 1.4.3