org.entityfs.at4jzip.cap.fs
Class FSCAt4jZipFileBackedUtil

java.lang.Object
  extended by org.entityfs.at4jzip.cap.fs.FSCAt4jZipFileBackedUtil

public final class FSCAt4jZipFileBackedUtil
extends Object

This utility class contains static methods for working with file systems that support the FSCAt4jZipFileBacked capability.

Since:
1.2
Author:
Karl Gustafsson
See Also:
FSCAt4jZipFileBacked
In_jar:
entityfs-zipat4j

Method Summary
static FSCAt4jZipFileBacked getCapability(FileSystem fs)
          Get the capability object for the file system.
static ZipFile getZipFile(FileSystem fs)
          Get the ZipFile that the file system is built on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCapability

public static FSCAt4jZipFileBacked getCapability(FileSystem fs)
                                          throws UnsupportedCapabilityException
Get the capability object for the file system.

Throws:
UnsupportedCapabilityException - If the file system does not support the FSCAt4jZipFileBacked capability.

getZipFile

public static ZipFile getZipFile(FileSystem fs)
                          throws UnsupportedCapabilityException
Get the ZipFile that the file system is built on.

Throws:
UnsupportedCapabilityException - If the file system does not support the FSCAt4jZipFileBacked capability.