org.entityfs.zip
Class FSCZipFileBackedImpl<T extends ZipFile>
java.lang.Object
org.entityfs.zip.FSCZipFileBackedImpl<T>
- All Implemented Interfaces:
- FileSystemCapability, FSCZipFileBacked
public class FSCZipFileBackedImpl<T extends ZipFile>
- extends Object
- implements FSCZipFileBacked
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSCZipFileBackedImpl
public FSCZipFileBackedImpl(T zf,
FileSystem parentFs)
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)