M - the type of the file system model.@ThreadSafe final class FsFinalizeController<M extends FsModel> extends FsDecoratingController<M,FsController<? extends M>>
| Modifier and Type | Class and Description |
|---|---|
private static class |
FsFinalizeController.FinalizeInputStream |
private static class |
FsFinalizeController.FinalizeOutputStream |
private static class |
FsFinalizeController.FinalizeReadOnlyFile |
private static class |
FsFinalizeController.FinalizeSeekableByteChannel |
private class |
FsFinalizeController.Input |
private class |
FsFinalizeController.Nio2Input |
private class |
FsFinalizeController.Nio2Output |
private class |
FsFinalizeController.Output |
private static class |
FsFinalizeController.SocketFactory |
| Modifier and Type | Field and Description |
|---|---|
private static Logger |
logger |
private static IOException |
OK |
private static FsFinalizeController.SocketFactory |
SOCKET_FACTORY |
delegate| Constructor and Description |
|---|
FsFinalizeController(FsController<? extends M> controller)
Constructs a new file system finalize controller.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
finalize(Closeable delegate,
IOException close) |
InputSocket<?> |
getInputSocket(FsEntryName name,
BitField<FsInputOption> options)
Returns an input socket for reading the contents of the file system
entry addressed by the given name from the file system.
|
OutputSocket<?> |
getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template)
Returns an output socket for writing the contents of the entry addressed
by the given name to the file system.
|
getClosedIcon, getEntry, getOpenIcon, getParent, isExecutable, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, setTime, sync, toString, unlinkgetModel, getMountPoint, isTouched, setTouchedequals, hashCode, sync, syncprivate static final Logger logger
private static final IOException OK
private static final FsFinalizeController.SocketFactory SOCKET_FACTORY
FsFinalizeController(FsController<? extends M> controller)
controller - the decorated file system controller.static void finalize(Closeable delegate, @CheckForNull IOException close)
public InputSocket<?> getInputSocket(FsEntryName name, BitField<FsInputOption> options)
FsControllergetInputSocket in class FsDecoratingController<M extends FsModel,FsController<? extends M extends FsModel>>name - the file system entry name.options - the input options.InputSocket.public OutputSocket<?> getOutputSocket(FsEntryName name, BitField<FsOutputOption> options, @CheckForNull Entry template)
FsControllertemplate is not null, then the output entry shall
have as many of its properties copied as reasonable, e.g. the last
modification time.getOutputSocket in class FsDecoratingController<M extends FsModel,FsController<? extends M extends FsModel>>name - a file system entry name.options - a bit field of output options.template - a nullable template for the properties of the output
entry.OutputSocket.Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.