n2n Page Rocket 1 API

n2n\io\fs

­Fs­Path

FsPath

Methods summary

Modifier and Type Method
public __construct ( string path )
public isAbsolute ( )
public getName ( )
public string getFileName ( )
public string getExtension ( )
public bool exists ( )
public boolean isReadable ( )
public boolean isWritable ( )
public boolean isDir ( )
public boolean isFile ( )
public touch ( )
public delete ( )
public mkdirs ( string perm )
public FsPath getParent ( )
public bool createFile ( unknown perm )
public boolean mkdirsAndCreateFile ( string dirPerm , string filePerm )
public isEmpty ( )
public FsPath [] getChildren ( string pattern = '*' )
public getDecendents ( unknown pattern = '*' )
public array<FsPath> getChildDirectories ( string pattern = '*' )
public boolean containsChildDirectory ( string name )
public boolean containsChildFile ( string name )
public int getSize ( )
public string __toString ( )
public FsPath moveFile ( string fsPath , string filePerm , bool overwrite = false )
public FsPath copyFile ( string fsPath , string filePerm , bool overwrite = false )
public copy ( unknown fsPath , unknown dirPerm , unknown filePerm , unknown overwrite = false )
public getMTime ( )
public getLastMod ( )
public FsPath createExtended ( mixed pathExt )
public FsPath ext ( unknown pathExt )
public chmod ( unknown perm )
public File toFile ( )
public equals ( unknown obj )
public static create ( unknown expression )

Methods in detail