#include <FileSystem.h>
Inheritance diagram for acdk::io::FileSystem:
It cooperates with FileImpl. An important reason to introduce this indirection in the File interface is to be able to support archive files (TAR, ZIP) remote file systems (FTP) and other virtual file systems like DCOM documents or shell directories.
Please refer also to acdk::io::FileSystem.
Public Member Functions | |
FileSystem () | |
virtual bool | ownsFile (IN(RString) fname)=0 |
virtual RString | getRootName ()=0 |
returns the root name of the this file system Examples: /home/roger/myfile.zip ftp://ftp.artefaktur.com | |
virtual RFileArray | listFiles (IN(RString) directory, int listflags)=0 |
virtual RFile | file (IN(RString) path)=0 |
creates an instance of given file. | |
virtual RFileImpl | getFileImpl (IN(RString) fqpath)=0 |
returns a file implementation for this full qualified file implementation | |
Static Public Member Functions | |
void | registerFileSystem (IN(RFileSystem) fs) |
To improve performance of File system File system will be cached in a weak referenced hash map. | |
void | registerFileSystemFactory (IN(RFileSystemFactory) fsf) |
void | unRegisterFileSystemFactory (IN(RFileSystemFactory) fsf) |
RFileSystem | findFileSystem (IN(RString) file) |
Static Protected Member Functions | |
void | loadPropertyFileSystemHandler () |
look if in the Systems properterty a Filesystem is registered for this filename |
|
|
|
creates an instance of given file.
Implemented in acdk::io::RessourceFileSystem, acdk::io::StandardFileSystem, acdk::net::ftp::FTPFileSystem, acdk::net::srfsys::SRFileSystemClient, acdk::net::UrlFileSystem, acdk::vfile::tar::TarFileSystem, and acdk::vfile::zip::ZipFileSystem. |
|
|
|
returns a file implementation for this full qualified file implementation
Implemented in acdk::io::RessourceFileSystem, acdk::io::StandardFileSystem, acdk::net::ftp::FTPFileSystem, acdk::net::srfsys::SRFileSystemClient, acdk::net::UrlFileSystem, acdk::vfile::tar::TarFileSystem, and acdk::vfile::zip::ZipFileSystem. |
|
returns the root name of the this file system Examples: /home/roger/myfile.zip ftp://ftp.artefaktur.com
Implemented in acdk::io::RessourceFileSystem, acdk::io::StandardFileSystem, acdk::net::ftp::FTPFileSystem, acdk::net::srfsys::SRFileSystemClient, acdk::net::UrlFileSystem, acdk::vfile::tar::TarFileSystem, and acdk::vfile::zip::ZipFileSystem. |
|
Implemented in acdk::io::RessourceFileSystem, acdk::io::StandardFileSystem, acdk::net::ftp::FTPFileSystem, acdk::net::srfsys::SRFileSystemClient, acdk::net::UrlFileSystem, acdk::vfile::tar::TarFileSystem, and acdk::vfile::zip::ZipFileSystem. |
|
look if in the Systems properterty a Filesystem is registered for this filename
|
|
Implemented in acdk::io::RessourceFileSystem, acdk::io::StandardFileSystem, acdk::net::ftp::FTPFileSystem, acdk::net::srfsys::SRFileSystemClient, acdk::net::UrlFileSystem, acdk::vfile::tar::TarFileSystem, and acdk::vfile::zip::ZipFileSystem. |
|
To improve performance of File system File system will be cached in a weak referenced hash map. This means, the FileSystem will only hold, if there is an File instance in this FileSystem. |
|
|
|
|