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

Class: FileOutputStream

Source Location: /system/io/FileOutputStream.php

Class Overview

OutputStream
   |
   --FileOutputStream

Output stream subclass for file streams.


Variables

Methods


Inherited Variables

Inherited Methods

Class: OutputStream

OutputStream::__construct()
Construct a new OutputStream.
OutputStream::close()
Closes attached stream, flushing output first.
OutputStream::flush()
Flushes stream.
OutputStream::write()
Writes data to stream.
OutputStream::__toString()
Returns a string representation of the attached PHP stream.

Class Details

[line 30]
Output stream subclass for file streams.



[ Top ]


Class Variables

$file =

[line 35]



Tags:

var:  The associated file.
access:  protected

Type:   PhingFile


[ Top ]



Class Methods


constructor __construct [line 44]

FileOutputStream __construct( mixed $file, [boolean $append = false])

Construct a new FileOutputStream.



Tags:

throws:  IOException - if unable to open file.
throws:  Exception - if invalid argument specified.
access:  public


Overrides OutputStream::__construct() (Construct a new OutputStream.)

Parameters:

mixed   $file  
boolean   $append   Whether to append bytes to end of file rather than beginning.

[ Top ]

method __toString [line 67]

string __toString( )

Returns a string representation of the attached file.



Tags:

access:  public


Overrides OutputStream::__toString() (Returns a string representation of the attached PHP stream.)

[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:50:56 +0200 by phpDocumentor 1.4.3