2005/5/9

     
 

class UrlFileSystem

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

acdk::net::UrlFileSystem Class Reference

#include <UrlFileSystem.h>

Inheritance diagram for acdk::net::UrlFileSystem:

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

Public Member Functions

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

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

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


Private Attributes

RURL _rootUrl

Constructor & Destructor Documentation

acdk::net::UrlFileSystem::UrlFileSystem IN(RString url  )  [inline]
 

acdk::net::UrlFileSystem::UrlFileSystem IN(RURL url  )  [inline]
 


Member Function Documentation

virtual RFile acdk::net::UrlFileSystem::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.

virtual RFileImpl acdk::net::UrlFileSystem::getFileImpl IN(RString fqpath  )  [virtual]
 

returns a file implementation for this full qualified file implementation

Implements acdk::io::FileSystem.

virtual RString acdk::net::UrlFileSystem::getRootName  )  [inline, virtual]
 

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

Implements acdk::io::FileSystem.

virtual acdk::io::RFileArray acdk::net::UrlFileSystem::listFiles IN(RString directory,
int  listflags
[inline, virtual]
 

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

Implements acdk::io::FileSystem.

virtual bool acdk::net::UrlFileSystem::ownsFile IN(RString fname  )  [inline, 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.


Member Data Documentation

RURL acdk::net::UrlFileSystem::_rootUrl [private]