|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.entityfs.jar.cap.fs.FSCJarFileBackedUtil
public final class FSCJarFileBackedUtil
This is a utility class with static utility methods for working with file
systems supporting the FSCJarFileBacked
capability. In addition to
the methods in this class, all methods in FSCZipFileBackedUtil
can
also be used on Jar file systems.
FSCZipFileBackedUtil
,
FSCJarFileBacked
Method Summary | |
---|---|
static JarFile |
getJarFile(FileSystem fs)
Get the JarFile backing the Jar file system, if it can be
constructed. |
static boolean |
hasJarFile(FileSystem fs)
Check if a JarFile can be constructed for the Jar file system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JarFile getJarFile(FileSystem fs) throws UnsupportedCapabilityException
JarFile
backing the Jar file system, if it can be
constructed.
fs
- The file system.
null
if it
cannot be constructed.
UnsupportedCapabilityException
- If the file system does not
support the FSCJarFileBacked
capability.FSCJarFileBacked.getJarFile()
public static boolean hasJarFile(FileSystem fs) throws UnsupportedCapabilityException
JarFile
can be constructed for the Jar file system.
fs
- The file system.
true
if a JarFile
can be constructed, false
otherwise.
UnsupportedCapabilityException
- If the file system does not
support the FSCJarFileBacked
capability.FSCJarFileBacked.getJarFile()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |