2005/5/9

     
 

class FileStandardImpl

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

acdk::io::FileStandardImpl Class Reference

#include <FileStandardImpl.h>

Inheritance diagram for acdk::io::FileStandardImpl:

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

Detailed Description

Implementation of the FileImpl interface for standard operation system files.


Public Member Functions

RFileImpl create (IN(RString) fname)
 FileStandardImpl (IN(RString) fname)
virtual bool exists ()
virtual bool canRead ()
virtual bool canWrite ()
virtual bool isDirectory ()
virtual bool isFile ()
virtual bool isHidden ()
virtual jlong length ()
virtual bool createNewFile ()
virtual bool deleteFile ()
virtual RStringArray list (IN(RFilenameFilter) filter=Nil, int listFlags=FileListBoth)
virtual RFileArray listFiles (IN(RFileFilter) filter=Nil, int listFlags=FileListBoth)
virtual jlong lastModified ()
virtual jlong fileCreated ()
virtual bool mkdir (int mode=0777)
virtual bool renameTo (IN(RFile) dest)
virtual bool setLastModified (jlong time)
virtual bool setFileCreated (jlong time)
virtual RFileInfo getFileInfo ()
 return File Info using other methods provided by FileImpl for performance reason this method should be implemented

virtual bool setFileAttributes (int mask, int flags)
 by default does nothing

virtual RReader getReader ()
virtual RWriter getWriter ()
virtual RFileSystem getFileSystem ()

Static Public Member Functions

RString fileUrlToFileName (IN(RString) furl)

Protected Member Functions

RStringArray _listFiles (IN(RString) dir)


Constructor & Destructor Documentation

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


Member Function Documentation

RStringArray acdk::io::FileStandardImpl::_listFiles IN(RString dir  )  [protected]
 

virtual bool acdk::io::FileStandardImpl::canRead  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::canWrite  )  [virtual]
 

Implements acdk::io::FileImpl.

RFileImpl acdk::io::FileStandardImpl::create IN(RString fname  ) 
 

virtual bool acdk::io::FileStandardImpl::createNewFile  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::deleteFile  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::exists  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual jlong acdk::io::FileStandardImpl::fileCreated  )  [virtual]
 

Implements acdk::io::FileImpl.

RString acdk::io::FileStandardImpl::fileUrlToFileName IN(RString furl  )  [static]
 

virtual RFileInfo acdk::io::FileStandardImpl::getFileInfo  )  [virtual]
 

return File Info using other methods provided by FileImpl for performance reason this method should be implemented

Reimplemented from acdk::io::FileImpl.

virtual RFileSystem acdk::io::FileStandardImpl::getFileSystem  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual RReader acdk::io::FileStandardImpl::getReader  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual RWriter acdk::io::FileStandardImpl::getWriter  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::isDirectory  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::isFile  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::isHidden  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual jlong acdk::io::FileStandardImpl::lastModified  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual jlong acdk::io::FileStandardImpl::length  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual RStringArray acdk::io::FileStandardImpl::list IN(RFilenameFilter filter = Nil,
int  listFlags = FileListBoth
[virtual]
 

Reimplemented from acdk::io::FileImpl.

virtual RFileArray acdk::io::FileStandardImpl::listFiles IN(RFileFilter filter = Nil,
int  listFlags = FileListBoth
[virtual]
 

Reimplemented from acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::mkdir int  mode = 0777  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::renameTo IN(RFile dest  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::setFileAttributes int  mask,
int  flags
[virtual]
 

by default does nothing

See also:
acdk::io::File::setFileAttributes

Reimplemented from acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::setFileCreated jlong  time  )  [virtual]
 

Reimplemented from acdk::io::FileImpl.

virtual bool acdk::io::FileStandardImpl::setLastModified jlong  time  )  [virtual]
 

Implements acdk::io::FileImpl.