2005/5/9

     
 

class FTPFileImpl

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

acdk::net::ftp::FTPFileImpl Class Reference

#include <FTPFileImpl.h>

Inheritance diagram for acdk::net::ftp::FTPFileImpl:

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

Public Member Functions

 FTPFileImpl (IN(RFTPFileSystem) fsys, IN(acdk::io::RFileInfo) fi)
virtual RString getCanonicalPath ()
 corresponding to File

virtual RString getAbsolutePath ()
virtual RString getName ()
virtual RString getPath ()
virtual acdk::io::RFile getParentFile ()
virtual acdk::io::RFile makeChild (IN(RString) subfile)
virtual bool isAbsolute ()
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 jlong lastModified ()
virtual jlong fileCreated ()
virtual bool mkdir (int mode=0777)
virtual bool renameTo (IN(acdk::io::RFile) dest)
virtual bool setLastModified (jlong time)
virtual bool setFileCreated (jlong time)
virtual acdk::io::RReader getReader ()
virtual acdk::io::RWriter getWriter ()
virtual acdk::io::RFileSystem getFileSystem ()
acdk::io::RFileInfo getFileInfo ()
 return File Info using other methods provided by FileImpl for performance reason this method should be implemented

RFTPClient getClient ()
RString _getFtpFileName ()
 return absolut path inside the ftp server /dir/sub/file.dat


Private Attributes

RFTPFileSystem _fileSystem
acdk::io::RFileInfo _fileInfo

Constructor & Destructor Documentation

acdk::net::ftp::FTPFileImpl::FTPFileImpl IN(RFTPFileSystem fsys,
IN(acdk::io::RFileInfo fi
[inline]
 


Member Function Documentation

RString acdk::net::ftp::FTPFileImpl::_getFtpFileName  ) 
 

return absolut path inside the ftp server /dir/sub/file.dat

virtual bool acdk::net::ftp::FTPFileImpl::canRead  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::canWrite  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::createNewFile  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::deleteFile  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::exists  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual jlong acdk::net::ftp::FTPFileImpl::fileCreated  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual RString acdk::net::ftp::FTPFileImpl::getAbsolutePath  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual RString acdk::net::ftp::FTPFileImpl::getCanonicalPath  )  [virtual]
 

corresponding to File

Implements acdk::io::FileImpl.

RFTPClient acdk::net::ftp::FTPFileImpl::getClient  )  [inline]
 

acdk::io::RFileInfo acdk::net::ftp::FTPFileImpl::getFileInfo  )  [inline, virtual]
 

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

Reimplemented from acdk::io::FileImpl.

virtual acdk::io::RFileSystem acdk::net::ftp::FTPFileImpl::getFileSystem  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual RString acdk::net::ftp::FTPFileImpl::getName  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual acdk::io::RFile acdk::net::ftp::FTPFileImpl::getParentFile  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual RString acdk::net::ftp::FTPFileImpl::getPath  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual acdk::io::RReader acdk::net::ftp::FTPFileImpl::getReader  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual acdk::io::RWriter acdk::net::ftp::FTPFileImpl::getWriter  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::isAbsolute  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::isDirectory  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::isFile  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::isHidden  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual jlong acdk::net::ftp::FTPFileImpl::lastModified  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual jlong acdk::net::ftp::FTPFileImpl::length  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

virtual acdk::io::RFile acdk::net::ftp::FTPFileImpl::makeChild IN(RString subfile  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::mkdir int  mode = 0777  )  [virtual]
 

Implements acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::renameTo IN(acdk::io::RFile dest  )  [virtual]
 

virtual bool acdk::net::ftp::FTPFileImpl::setFileCreated jlong  time  )  [virtual]
 

Reimplemented from acdk::io::FileImpl.

virtual bool acdk::net::ftp::FTPFileImpl::setLastModified jlong  time  )  [virtual]
 

Implements acdk::io::FileImpl.


Member Data Documentation

acdk::io::RFileInfo acdk::net::ftp::FTPFileImpl::_fileInfo [private]
 

RFTPFileSystem acdk::net::ftp::FTPFileImpl::_fileSystem [private]