2005/5/9

     
 

class FileStatus

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::io::FileStatus Class Reference

#include <FileStatus.h>

Inheritance diagram for acdk::io::FileStatus:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

FileStatus operates on normal files Normally doesn't used directly.

See also:
FileInfo


Public Member Functions

 FileStatus (IN(RString) fname)
bool exists ()
bool canRead ()
bool canWrite ()
bool isDirectory ()
bool isFile ()
jlong length ()
jlong lastAccessed ()
bool lastAccessed (long accesstime)
jlong lastModified ()
 milliseconds since 1970-01-01T00:00:00:000

bool lastModified (jlong modtime)
 milliseconds since 1970-01-01T00:00:00:000

jlong created ()
 milliseconds since 1970-01-01T00:00:00:000

bool created (jlong createtime)
 set new Created time.

RFileInfo getFileInfo ()
 return the file info for this file

bool setFileAttributes (int mask, int flags)

Private Attributes

RString _path


Constructor & Destructor Documentation

acdk::io::FileStatus::FileStatus IN(RString fname  )  [inline]
 


Member Function Documentation

bool acdk::io::FileStatus::canRead  )  [inline]
 

bool acdk::io::FileStatus::canWrite  )  [inline]
 

bool acdk::io::FileStatus::created jlong  createtime  ) 
 

set new Created time.

Only works on WIN32

jlong acdk::io::FileStatus::created  ) 
 

milliseconds since 1970-01-01T00:00:00:000

bool acdk::io::FileStatus::exists  )  [inline]
 

RFileInfo acdk::io::FileStatus::getFileInfo  ) 
 

return the file info for this file

bool acdk::io::FileStatus::isDirectory  )  [inline]
 

bool acdk::io::FileStatus::isFile  )  [inline]
 

bool acdk::io::FileStatus::lastAccessed long  accesstime  ) 
 

jlong acdk::io::FileStatus::lastAccessed  ) 
 

bool acdk::io::FileStatus::lastModified jlong  modtime  ) 
 

milliseconds since 1970-01-01T00:00:00:000

jlong acdk::io::FileStatus::lastModified  ) 
 

milliseconds since 1970-01-01T00:00:00:000

jlong acdk::io::FileStatus::length  )  [inline]
 

bool acdk::io::FileStatus::setFileAttributes int  mask,
int  flags
 

See also:
File::setFileAttributes()


Member Data Documentation

RString acdk::io::FileStatus::_path [private]