au.com.prunge.jgenfile.impl.local
Class LocalCloseFileAccessorOperation
java.lang.Object
|
+--au.com.prunge.jgenfile.impl.AbstractOperation
|
+--au.com.prunge.jgenfile.impl.AbstractFileAccessorOperation
|
+--au.com.prunge.jgenfile.impl.local.LocalCloseFileAccessorOperation
- All Implemented Interfaces:
- CloseFileAccessorOperation, FileAccessorOperation, Operation
- public class LocalCloseFileAccessorOperation
- extends AbstractFileAccessorOperation
- implements CloseFileAccessorOperation
An operation that closes a local file accessor.
- Version:
- 1.0
- Author:
- Peter Runge
Method Summary |
void |
runImpl()
The actual run() implementation goes in this method. |
Methods inherited from class au.com.prunge.jgenfile.impl.AbstractOperation |
abort, addOperationHints, checkRun, getLastRunException, getOperationHint, getOperationHints, hasRun, run, setLastRunException, setOperationHint, setOperationHints |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalCloseFileAccessorOperation
public LocalCloseFileAccessorOperation(LocalFileAccessor fileAccessor)
- Constructs a
LocalCloseFileAccessorOperation
.
- Parameters:
fileAccessor
- the file accessor
runImpl
public void runImpl()
throws JGenFileException,
OpenChannelException
- Description copied from class:
AbstractOperation
- The actual run() implementation goes in this method.
Setting the last run exception and setting hasRun to
true is not required by this method as it is handled
by the run() method in this class.
If this method completes successfully (i.e. without
throwing an exception), the last run exception is
set to null indicating no exception occurred and
subsequent calls to hasRun() will return true.
If this method throws an exception, the last run exception
is filled in and hasRun() subsequent calls to hasRun()
will return false.
- Specified by:
runImpl
in class AbstractOperation
- Throws:
JGenFileException
- if an error occurs.
OpenChannelException
- See Also:
au.com.prunge.jgenfile.AbstractOperation#runImpl()