artefaktur
software engineer &        architecture

 
 
 
 

class StandardFileSystem

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

acdk::io::StandardFileSystem Class Reference

#include <StandardFileSystem.h>

Inheritance diagram for acdk::io::StandardFileSystem:

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

Detailed Description

The StandardFileSystem implements the FileSystem for standard OS files.

Please refer also to  acdk::io::FileSystem.


Public Member Functions

bool ownsFile (IN(RString) fname)
RString getRootName ()
 returns the root name of the this file system Examples: /home/roger/myfile.zip ftp://ftp.artefaktur.com

RFileArray listFiles (IN(RString) directory, int listflags)
RFile file (IN(RString) path)
 creates an instance of given file.

RFileImpl getFileImpl (IN(RString) fqpath)
 returns a file implementation for this full qualified file implementation


Static Public Member Functions

RFileSystem standarFileSystem ()

Member Function Documentation

RFile acdk::io::StandardFileSystem::file IN(RString path  )  [virtual]
 

creates an instance of given file.

Parameters:
path is without the FS name
Returns:
returns a new File.

Implements acdk::io::FileSystem.

RFileImpl acdk::io::StandardFileSystem::getFileImpl IN(RString fqpath  )  [virtual]
 

returns a file implementation for this full qualified file implementation

Implements acdk::io::FileSystem.

RString acdk::io::StandardFileSystem::getRootName  )  [virtual]
 

returns the root name of the this file system Examples: /home/roger/myfile.zip ftp://ftp.artefaktur.com

Implements acdk::io::FileSystem.

RFileArray acdk::io::StandardFileSystem::listFiles IN(RString directory,
int  listflags
[virtual]
 

Parameters:
directory the absolute name with out the FSname
listflags a combination of ListFlags
Returns:
list of files

Implements acdk::io::FileSystem.

bool acdk::io::StandardFileSystem::ownsFile IN(RString fname  )  [virtual]
 

Returns:
true, if given (absolut) file name is part of this file system. Example: /dir/subdir/file.dat -> owns StandardFileSystem /dir/file.zip@/subdir/file.data -> owns ZipFileSystem(/dir/file.zip)

Implements acdk::io::FileSystem.

RFileSystem acdk::io::StandardFileSystem::standarFileSystem  )  [static]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer