classes/phing/tasks/system/TruncateTask.php
public function setFile($f)
    {
        if (is_string($f)) {
            $f = new PhingFile($f);
        }
        $this->file = $f;
    }
public function setFile($f)
    {
        if (is_string($f)) {
            $f = new PhingFile($f);
        }
        $this->file = $f;
    }
public function setFile ( $ f ) { if ( is_string ( $ f ) ) { $ f = new PhingFile ( $ f ) ; } $ this -> file = $ f ; }
Set a single target File.

@param  PhingFile|string $f the single File
@throws \IOException
@throws \NullPointerException
Set a single target File .