TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

de.schlichtherle.truezip.fs.archive.zip.raes
Class KeyManagerArchiveController

java.lang.Object
  extended by de.schlichtherle.truezip.fs.FsController<M>
      extended by de.schlichtherle.truezip.fs.FsDecoratingController<FsModel,FsController<? extends FsModel>>
          extended by de.schlichtherle.truezip.fs.archive.zip.raes.KeyManagerArchiveController

@ThreadSafe
final class KeyManagerArchiveController
extends FsDecoratingController<FsModel,FsController<? extends FsModel>>

This archive controller resets the key provider in the key manager if the target RAES encrypted ZIP archive file gets deleted.

Author:
Christian Schlichtherle

Field Summary
private  ZipRaesDriver driver
           
 
Fields inherited from class de.schlichtherle.truezip.fs.FsDecoratingController
delegate
 
Constructor Summary
KeyManagerArchiveController(FsController<?> controller, ZipRaesDriver driver)
          Constructs a new key manager archive controller.
 
Method Summary
 FsEntry getEntry(FsEntryName name)
           
<X extends IOException>
void
sync(BitField<FsSyncOption> options, ExceptionHandler<? super FsSyncException,X> handler)
           
 void unlink(FsEntryName name)
           
 
Methods inherited from class de.schlichtherle.truezip.fs.FsDecoratingController
getClosedIcon, getInputSocket, getModel, getOpenIcon, getOutputSocket, getParent, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, toString
 
Methods inherited from class de.schlichtherle.truezip.fs.FsController
equals, hashCode, sync
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

driver

private final ZipRaesDriver driver
Constructor Detail

KeyManagerArchiveController

KeyManagerArchiveController(FsController<?> controller,
                            ZipRaesDriver driver)
Constructs a new key manager archive controller.

Parameters:
controller - the non-null archive controller.
Method Detail

getEntry

public final FsEntry getEntry(FsEntryName name)
                       throws IOException
Overrides:
getEntry in class FsDecoratingController<FsModel,FsController<? extends FsModel>>
Throws:
IOException

unlink

public void unlink(FsEntryName name)
            throws IOException
Overrides:
unlink in class FsDecoratingController<FsModel,FsController<? extends FsModel>>
Throws:
IOException

sync

public <X extends IOException> void sync(BitField<FsSyncOption> options,
                                         ExceptionHandler<? super FsSyncException,X> handler)
          throws X extends IOException
Overrides:
sync in class FsDecoratingController<FsModel,FsController<? extends FsModel>>
Throws:
X extends IOException

TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

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