BufferedWriter

Extends \Writer

Convenience class for writing files.

author

Hans Lellelid hans@xmpl.org

version

$Id$

package

phing.system.io

Methods

__construct

__construct(\Writer $writer, $buffsize = 8192) 

Arguments

$writer

\Writer

$buffsize

Writes data to output stream.

write(string $buf, int $off = null, int $len = null) 
inherited abstract

Arguments

$buf

string

$off

int

$len

int

newLine

newLine() 

Returns a string representation of resource filename, url, etc. that is being written to.

getResource() : string
inherited abstract

Response

string

Flush the stream, if supported by the stream.

flush() 
inherited

Close the stream.

close() 
inherited abstract
throws
  • if there is an error closing stream.

Properties

The size of the buffer in kb.

bufferSize : 

The Writer we are buffering output to.

out : \Writer
var

The Writer we are buffering output to.

Type(s)

\Writer