File utility class.
package |
phing.util |
---|---|
version |
$Id: 768d7bfe32c96719f03a2291eef5f30dbb3b3d6b $ |
contentEquals(\PhingFile $file1, \PhingFile $file2) : boolean
\PhingFile
\PhingFile
boolean
Whether contents of two files is the same.
copyFile(\PhingFile $sourceFile, \PhingFile $destFile, boolean $overwrite = false, boolean $preserveLastModified = true, array &$filterChains = null, \Project $project, integer $mode = 493, $preservePermissions = true) : void
\PhingFile
\PhingFile
boolean
boolean
array
\Project
integer
getChainedReader(\Reader $in, &$filterChains, \Project $project) : \Reader
getDefaultFileCreationMask(boolean $dirmode = false, boolean $returnoctal = false) : String
boolean
Directory creation mask to select
boolean
Whether the return value is in octal representation
String
Creation Mask
normalize(string $path) : string
This includes:
string
Path to normalize.
string
resolveFile( $file, $filename) : \PhingFile
the "reference" file for relative paths. This
instance must be an absolute file and must not contain
./ or ../ sequences (same for \ instead of /).
a file name
\PhingFile
A PhingFile object pointing to an absolute file that doesn't contain ./ or ../ sequences
and uses the correct separator for the current platform.