D - the type of the ZIP driver.@Immutable public abstract class AbstractKeyController<D extends AbstractZipDriver<?>> extends FsDecoratingController
FsController.Factory<Context>| Modifier and Type | Field and Description |
|---|---|
protected D |
driver |
controller| Modifier | Constructor and Description |
|---|---|
protected |
AbstractKeyController(FsController controller,
D driver)
Constructs a new key manager controller.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkAccess(net.java.truecommons.shed.BitField<FsAccessOption> options,
FsNodeName name,
net.java.truecommons.shed.BitField<net.java.truecommons.cio.Entry.Access> types) |
protected abstract Class<? extends IOException> |
getKeyExceptionType() |
protected abstract Class<?> |
getKeyType() |
FsNode |
node(net.java.truecommons.shed.BitField<FsAccessOption> options,
FsNodeName name) |
void |
sync(net.java.truecommons.shed.BitField<FsSyncOption> options) |
void |
unlink(net.java.truecommons.shed.BitField<FsAccessOption> options,
FsNodeName name) |
getParent, input, make, output, setReadOnly, setTime, setTime, toStringgetModel, getMountPoint, isMounted, setMountedprotected final D extends AbstractZipDriver<?> driver
protected AbstractKeyController(FsController controller, D driver)
controller - the non-null file system controller to
decorate.driver - the ZIP driver.public void checkAccess(net.java.truecommons.shed.BitField<FsAccessOption> options, FsNodeName name, net.java.truecommons.shed.BitField<net.java.truecommons.cio.Entry.Access> types) throws IOException
checkAccess in interface FsControllercheckAccess in class FsDecoratingControllerIOExceptionprotected abstract Class<? extends IOException> getKeyExceptionType()
protected abstract Class<?> getKeyType()
public final FsNode node(net.java.truecommons.shed.BitField<FsAccessOption> options, FsNodeName name) throws IOException
node in interface FsControllernode in class FsDecoratingControllerIOExceptionpublic void sync(net.java.truecommons.shed.BitField<FsSyncOption> options) throws FsSyncWarningException, FsSyncException
sync in interface FsControllersync in class FsDecoratingControllerFsSyncWarningExceptionFsSyncExceptionpublic final void unlink(net.java.truecommons.shed.BitField<FsAccessOption> options, FsNodeName name) throws IOException
unlink in interface FsControllerunlink in class FsDecoratingControllerIOExceptionCopyright © 2005–2014 Schlichtherle IT Services. All rights reserved.