2005/5/9

     
 

class ZipFileImpl

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

acdk::vfile::zip::ZipFileImpl Class Reference

#include <ZipFileImpl.h>

Inheritance diagram for acdk::vfile::zip::ZipFileImpl:

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

Detailed Description

Represents a file in a zip.


Public Member Functions

 ZipFileImpl (IN(RZipFileSystem) fsys, IN(RLocalFileHeader) lfh)
RString getCanonicalPath ()
 corresponding to File

RString getAbsolutePath ()
RString getName ()
RString getPath ()
acdk::io::RFile getParentFile ()
acdk::io::RFile makeChild (IN(RString) subfile)
bool isAbsolute ()
bool exists ()
bool canRead ()
bool canWrite ()
bool isDirectory ()
bool isFile ()
bool isHidden ()
jlong length ()
bool createNewFile ()
bool deleteFile ()
jlong lastModified ()
jlong fileCreated ()
bool mkdir (int mode=0777)
bool renameTo (IN(acdk::io::RFile) dest)
bool setLastModified (jlong time)
acdk::io::RReader getReader ()
acdk::io::RWriter getWriter ()
acdk::io::RFileSystem getFileSystem ()

Private Attributes

RZipFileSystem _fsys
 The underlying files sytem.

RLocalFileHeader _lfh

Friends

class ZipFileReader


Constructor & Destructor Documentation

acdk::vfile::zip::ZipFileImpl::ZipFileImpl IN(RZipFileSystem fsys,
IN(RLocalFileHeader lfh
[inline]
 


Member Function Documentation

bool acdk::vfile::zip::ZipFileImpl::canRead  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::canWrite  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::createNewFile  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::deleteFile  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::exists  )  [virtual]
 

Implements acdk::io::FileImpl.

jlong acdk::vfile::zip::ZipFileImpl::fileCreated  )  [virtual]
 

Implements acdk::io::FileImpl.

RString acdk::vfile::zip::ZipFileImpl::getAbsolutePath  )  [virtual]
 

Implements acdk::io::FileImpl.

RString acdk::vfile::zip::ZipFileImpl::getCanonicalPath  )  [virtual]
 

corresponding to File

Implements acdk::io::FileImpl.

acdk::io::RFileSystem acdk::vfile::zip::ZipFileImpl::getFileSystem  )  [virtual]
 

Implements acdk::io::FileImpl.

RString acdk::vfile::zip::ZipFileImpl::getName  )  [virtual]
 

Implements acdk::io::FileImpl.

acdk::io::RFile acdk::vfile::zip::ZipFileImpl::getParentFile  )  [virtual]
 

Implements acdk::io::FileImpl.

RString acdk::vfile::zip::ZipFileImpl::getPath  )  [virtual]
 

Implements acdk::io::FileImpl.

acdk::io::RReader acdk::vfile::zip::ZipFileImpl::getReader  )  [virtual]
 

Implements acdk::io::FileImpl.

acdk::io::RWriter acdk::vfile::zip::ZipFileImpl::getWriter  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::isAbsolute  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::isDirectory  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::isFile  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::isHidden  )  [virtual]
 

Implements acdk::io::FileImpl.

jlong acdk::vfile::zip::ZipFileImpl::lastModified  )  [virtual]
 

Implements acdk::io::FileImpl.

jlong acdk::vfile::zip::ZipFileImpl::length  )  [virtual]
 

Implements acdk::io::FileImpl.

acdk::io::RFile acdk::vfile::zip::ZipFileImpl::makeChild IN(RString subfile  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::mkdir int  mode = 0777  )  [virtual]
 

Implements acdk::io::FileImpl.

bool acdk::vfile::zip::ZipFileImpl::renameTo IN(acdk::io::RFile dest  ) 
 

bool acdk::vfile::zip::ZipFileImpl::setLastModified jlong  time  )  [virtual]
 

Implements acdk::io::FileImpl.


Friends And Related Function Documentation

friend class ZipFileReader [friend]
 


Member Data Documentation

RZipFileSystem acdk::vfile::zip::ZipFileImpl::_fsys [private]
 

The underlying files sytem.

Is Nil if no such zip in StandardFileSystem

RLocalFileHeader acdk::vfile::zip::ZipFileImpl::_lfh [private]