org.entityfs.zip
Class FSCZipFileBackedImpl<T extends ZipFile>

java.lang.Object
  extended by org.entityfs.zip.FSCZipFileBackedImpl<T>
All Implemented Interfaces:
FileSystemCapability, FSCZipFileBacked

public class FSCZipFileBackedImpl<T extends ZipFile>
extends Object
implements FSCZipFileBacked


Constructor Summary
FSCZipFileBackedImpl(T zf, FileSystem parentFs)
           
 
Method Summary
 FileSystem getParentFileSystem()
          If the Zip FileSystem is created on an EFile, this method can be called to return the parent file system.
 ZipFile getZipFile()
          Get the Zip file system's ZipFile.
 void setFileSystem(FileSystemImplementation fs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSCZipFileBackedImpl

public FSCZipFileBackedImpl(T zf,
                            FileSystem parentFs)
Method Detail

getZipFile

public ZipFile getZipFile()
Description copied from interface: FSCZipFileBacked
Get the Zip file system's ZipFile.

Specified by:
getZipFile in interface FSCZipFileBacked
Returns:
The file system's ZipFile.

getParentFileSystem

public FileSystem getParentFileSystem()
Description copied from interface: FSCZipFileBacked
If the Zip FileSystem is created on an EFile, this method can be called to return the parent file system.

Specified by:
getParentFileSystem in interface FSCZipFileBacked
Returns:
The parent file system or null if the Zip file system was not created on an EFile

setFileSystem

public void setFileSystem(FileSystemImplementation fs)