artefaktur
software engineer &        architecture

 
 
 
 

class FileImpl

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

acdk::io::FileImpl Class Reference

#include <FileImpl.h>

Inheritance diagram for acdk::io::FileImpl:

acdk::io::AbstractFileImpl acdk::io::FileAbstractImpl acdk::io::RessourceFileImpl acdk::net::ftp::FTPFileImpl acdk::net::srfsys::SRFileImpl acdk::net::UrlFileImpl acdk::vfile::tar::TarFileImpl acdk::vfile::zip::ZipFileImpl List of all members.

Detailed Description

This Interface should implement the File operations.

The class FileStandardImpl implements the file operations on a normal file system.

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

Author:
Roger Rene Kommer
See also:
FileStandardImpl

File

FileSystem


Public Member Functions

virtual RString getCanonicalPath ()=0
 corresponding to File

virtual RString getAbsolutePath ()=0
virtual RString getName ()=0
virtual RString getPath ()=0
virtual RFile getParentFile ()=0
virtual RFile makeChild (IN(RString) subfile)=0
virtual bool isAbsolute ()=0
virtual bool exists ()=0
virtual bool canRead ()=0
virtual bool canWrite ()=0
virtual bool isDirectory ()=0
virtual bool isFile ()=0
virtual bool isHidden ()=0
virtual jlong length ()=0
virtual bool createNewFile ()=0
virtual bool deleteFile ()=0
virtual RStringArray list (IN(RFilenameFilter) filter=Nil, int listFlags=FileListBoth)
virtual RFileArray listFiles (IN(RFileFilter) filter=Nil, int listFlags=FileListBoth)
virtual jlong lastModified ()=0
virtual jlong fileCreated ()=0
virtual bool mkdir (int mode=0777)=0
virtual bool renameTo (IN(RFile) dest)=0
virtual bool setLastModified (jlong time)=0
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 bool setFileFlags (int flags)
virtual RReader getReader ()=0
virtual RWriter getWriter ()=0
virtual RFileSystem getFileSystem ()=0

Member Function Documentation

virtual bool acdk::io::FileImpl::canRead  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::canWrite  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::createNewFile  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::deleteFile  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::exists  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual jlong acdk::io::FileImpl::fileCreated  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual RString acdk::io::FileImpl::getAbsolutePath  )  [pure virtual]
 

Implemented in acdk::io::FileAbstractImpl, acdk::io::AbstractFileImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual RString acdk::io::FileImpl::getCanonicalPath  )  [pure virtual]
 

corresponding to File

Implemented in acdk::io::FileAbstractImpl, acdk::io::AbstractFileImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

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

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

Reimplemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, and acdk::net::ftp::FTPFileImpl.

virtual RFileSystem acdk::io::FileImpl::getFileSystem  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual RString acdk::io::FileImpl::getName  )  [pure virtual]
 

Implemented in acdk::io::FileAbstractImpl, acdk::io::AbstractFileImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual RFile acdk::io::FileImpl::getParentFile  )  [pure virtual]
 

Implemented in acdk::io::FileAbstractImpl, acdk::io::AbstractFileImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual RString acdk::io::FileImpl::getPath  )  [pure virtual]
 

Implemented in acdk::io::FileAbstractImpl, acdk::io::AbstractFileImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual RReader acdk::io::FileImpl::getReader  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual RWriter acdk::io::FileImpl::getWriter  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::isAbsolute  )  [pure virtual]
 

Implemented in acdk::io::FileAbstractImpl, acdk::io::AbstractFileImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::isDirectory  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::isFile  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual bool acdk::io::FileImpl::isHidden  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual jlong acdk::io::FileImpl::lastModified  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

virtual jlong acdk::io::FileImpl::length  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

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

Reimplemented in acdk::io::AbstractFileImpl, and acdk::io::FileStandardImpl.

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

Reimplemented in acdk::io::AbstractFileImpl, and acdk::io::FileStandardImpl.

virtual RFile acdk::io::FileImpl::makeChild IN(RString subfile  )  [pure virtual]
 

Implemented in acdk::io::FileAbstractImpl, acdk::io::AbstractFileImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

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

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

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

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::srfsys::SRFileImpl, and acdk::vfile::tar::TarFileImpl.

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

by default does nothing

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

Reimplemented in acdk::io::AbstractFileImpl, and acdk::io::FileStandardImpl.

virtual bool acdk::io::FileImpl::setFileCreated jlong  time  )  [inline, virtual]
 

Reimplemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, and acdk::net::ftp::FTPFileImpl.

virtual bool acdk::io::FileImpl::setFileFlags int  flags  )  [inline, virtual]
 

Reimplemented in acdk::io::AbstractFileImpl.

virtual bool acdk::io::FileImpl::setLastModified jlong  time  )  [pure virtual]
 

Implemented in acdk::io::AbstractFileImpl, acdk::io::FileStandardImpl, acdk::io::RessourceFileImpl, acdk::net::ftp::FTPFileImpl, acdk::net::srfsys::SRFileImpl, acdk::net::UrlFileImpl, acdk::vfile::tar::TarFileImpl, and acdk::vfile::zip::ZipFileImpl.

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