FileInfoclassfile.t[21]

File status information. This is returned from file.getFileInfo().

class FileInfo :   object

Superclass Tree   (in declaration order)

FileInfo
        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

fileAccessTime  fileAttrs  fileCreateTime  fileLinkTarget  fileModifyTime  fileSize  fileType  isDir  specialLink 

Summary of Methods  

construct 

Properties  

fileAccessTimefile.t[81]

no description available

fileAttrsfile.t[69]
file attributes, as a combination of FileAttrXxx bit flags (see filename.h)

fileCreateTimefile.t[79]
The file's time of creation, last modification, and last access, as Date objects. On some systems, these timestamps might not all be available; an item that's not available is set to nil.

fileLinkTargetfile.t[57]
Link target. If the file is a symbolic link, this contains a string giving the target file's path. This is the direct target of this link, which might itself be another link.

fileModifyTimefile.t[80]
no description available

fileSizefile.t[72]
size of the file in bytes

fileTypefile.t[63]
type of the file, as a combination of FileTypeXxx bit flags (see filename.h)

isDirfile.t[38]
is this file a directory?

specialLinkfile.t[50]
Is this a special link directory? This is FileTypeSelfLink for a directory link to itself; it's FileTypeParentLink for a directory link to the parent; it's zero for all other files. On Windows and Unix, these flags will be set for the special "." and ".." directories, respectively. These flags only apply to the *system-defined* special links; they aren't set for user-created links that happen to point to self or parent. This is zero for all other files.

Methods  

construct (typ, siz, ctime, mtime, atime, target, attrs, ...)file.t[22]

no description available

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3