de.schlichtherle.truezip.zip
Class ZipFile.DefaultReadOnlyFilePool
java.lang.Object
de.schlichtherle.truezip.zip.ZipFile.DefaultReadOnlyFilePool
- All Implemented Interfaces:
- Pool<ReadOnlyFile,IOException>
- Enclosing class:
- ZipFile
private static class ZipFile.DefaultReadOnlyFilePool
- extends Object
- implements Pool<ReadOnlyFile,IOException>
A pool which allocates DefaultReadOnlyFile objects for the
provided to its constructor.
|
Field Summary |
(package private) File |
file
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
final File file
ZipFile.DefaultReadOnlyFilePool
public ZipFile.DefaultReadOnlyFilePool(File file)
ZipFile.DefaultReadOnlyFilePool
public ZipFile.DefaultReadOnlyFilePool(String name)
allocate
public ReadOnlyFile allocate()
throws IOException
- Specified by:
allocate in interface Pool<ReadOnlyFile,IOException>
- Throws:
IOException
release
public void release(ReadOnlyFile rof)
throws IOException
- Specified by:
release in interface Pool<ReadOnlyFile,IOException>
- Throws:
IOException
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.