TrueZIP Driver ZIP.RAES (TZP) 7.1

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

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

@ThreadSafe
@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
final class ZipRaesController
extends FsDecoratingController<FsModel,FsController<?>>

This file system controller decorates another file system controller in order to manage the authentication key required for accessing its target RAES encrypted ZIP archive file (ZIP.RAES).

Author:
Christian Schlichtherle

Field Summary
private  ZipRaesDriver driver
           
private static String ROOT_PATH
           
 
Fields inherited from class de.schlichtherle.truezip.fs.FsDecoratingController
delegate
 
Constructor Summary
ZipRaesController(FsController<?> controller, ZipRaesDriver driver)
          Constructs a new ZIP.RAES 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

ROOT_PATH

private static final String ROOT_PATH

driver

private final ZipRaesDriver driver
Constructor Detail

ZipRaesController

ZipRaesController(FsController<?> controller,
                  ZipRaesDriver driver)
Constructs a new ZIP.RAES archive controller.

Parameters:
controller - the non-null archive controller.
driver - the ZIP.RAES driver.
Method Detail

getEntry

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

unlink

public void unlink(FsEntryName name)
            throws IOException
Overrides:
unlink in class FsDecoratingController<FsModel,FsController<?>>
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<?>>
Throws:
X extends IOException

TrueZIP Driver ZIP.RAES (TZP) 7.1

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