类 WeakZipFileFactory
- java.lang.Object
-
- org.apache.felix.framework.util.WeakZipFileFactory
-
public class WeakZipFileFactory extends java.lang.ObjectThis class implements a factory for creating weak zip files, which behave mostly like a ZipFile, but can be weakly closed to limit the number of open files.
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 classWeakZipFileFactory.WeakZipFileThis class wraps a ZipFile to making it possible to weakly close it; this means the underlying zip file will be automatically reopened on demand if anyone tries to use it.
-
构造器概要
构造器 构造器 说明 WeakZipFileFactory(int limit)Constructs a weak zip file factory with the specified file limit.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 WeakZipFileFactory.WeakZipFilecreate(java.io.File file)Factory method used to create weak zip files.
-
-
-
方法详细资料
-
create
public WeakZipFileFactory.WeakZipFile create(java.io.File file) throws java.io.IOException
Factory method used to create weak zip files.- 参数:
file- the target zip file.- 返回:
- the created weak zip file.
- 抛出:
java.io.IOException- if the zip file could not be opened.
-
-