public class WeakZipFileFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
WeakZipFileFactory.WeakZipFile
This 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.
|
| Constructor and Description |
|---|
WeakZipFileFactory(int limit)
Constructs a weak zip file factory with the specified file limit.
|
| Modifier and Type | Method and Description |
|---|---|
WeakZipFileFactory.WeakZipFile |
create(File file)
Factory method used to create weak zip files.
|
public WeakZipFileFactory(int limit)
limit - maximum number of open zip files at any given time.public WeakZipFileFactory.WeakZipFile create(File file) throws IOException
file - the target zip file.IOException - if the zip file could not be opened.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.