TrueZIP Driver ZIP 7.0

de.schlichtherle.truezip.zip
Class RawZipFile.SingletonReadOnlyFilePool

java.lang.Object
  extended by de.schlichtherle.truezip.zip.RawZipFile.SingletonReadOnlyFilePool
All Implemented Interfaces:
Pool<ReadOnlyFile,IOException>
Enclosing class:
RawZipFile<E extends ZipEntry>

private static class RawZipFile.SingletonReadOnlyFilePool
extends Object
implements Pool<ReadOnlyFile,IOException>

A pool with a singleton read only file provided to its constructor.


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.schlichtherle.truezip.util.Pool
Pool.Releasable<E extends Exception>
 
Field Summary
(package private)  ReadOnlyFile rof
           
 
Constructor Summary
RawZipFile.SingletonReadOnlyFilePool(ReadOnlyFile rof)
           
 
Method Summary
 ReadOnlyFile allocate()
           
 void release(ReadOnlyFile rof)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rof

final ReadOnlyFile rof
Constructor Detail

RawZipFile.SingletonReadOnlyFilePool

public RawZipFile.SingletonReadOnlyFilePool(ReadOnlyFile rof)
Method Detail

allocate

public ReadOnlyFile allocate()
Specified by:
allocate in interface Pool<ReadOnlyFile,IOException>

release

public void release(ReadOnlyFile rof)
Specified by:
release in interface Pool<ReadOnlyFile,IOException>

TrueZIP Driver ZIP 7.0

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.