classes/phing/system/io/Win32FileSystem.php
- package
- phing.system.io
\Win32FileSystem
This is an abstract class for platform specific filesystem implementations you have to implement each method in the platform specific filesystem implementation classes Your local filesytem implementation must extend this class.
You should also use this class as a template to write your local implementation Some native PHP filesystem specific methods are abstracted here as well. Anyway you must always use this methods via a PhingFile object (that by nature uses the *FileSystem drivers to access the real filesystem via this class using natives.
FIXME: - Error handling reduced to min fallthrough runtime exceptions more precise errorhandling is done by the PhingFile class
- Extends from
- \FileSystem
- author
- Charlie Killian
- author
- Hans Lellelid
- package
- phing.system.io
- version
- $Revision: 1260 $
Properties
Methods

compare(
$f1, $f2
)
:
| Name | Type | Description |
|---|---|---|
| $f1 | ||
| $f2 |

normalize(
string $strPath
)
:
stringThis way we iterate through the whole pathname string only once.
| Name | Type | Description |
|---|---|---|
| $strPath | string |
| Type | Description |
|---|---|
| string |

normalizePrefix(
$strPath, $len, $sb
)
:
0 relative to both drive and directory 1 drive-relative (begins with '\') 2 absolute UNC (if first char is '\'), else directory-relative (has form "z:foo") 3 absolute local pathname (begins with "z:\")
| Name | Type | Description |
|---|---|---|
| $strPath | ||
| $len | ||
| $sb |

normalizer(
$strPath, $len, $offset
)
:
| Name | Type | Description |
|---|---|---|
| $strPath | ||
| $len | ||
| $offset |