system/io/FileInputStream.php
\FileInputStream
Package: phing\system\io
Input stream subclass for file streams.
- Parent(s)
- \InputStream
Properties
Methods

__construct(
\PhingFile | string $file, boolean $append
=
false
)
:
voidConstruct a new FileInputStream.
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile | string | Path to the file |
| $append | boolean | Whether to append (ignored) |
| Exception | Description |
|---|---|
| \Exception | - if invalid argument specified. |
| \IOException | - if unable to open file. |

__toString(
)
:
stringReturns a string representation of the attached file.
Returns
| Type | Description |
|---|---|
| string |

markSupported(
)
:
booleanMark is supported by FileInputStream.
Returns
| Type | Description |
|---|---|
| boolean | TRUE |