Package org.anchoranalysis.io.input
Class InputFromManagerDelegate<T extends InputFromManager>
Object
InputFromManagerDelegate<T>
- Type Parameters:
T
- inout-type
- All Implemented Interfaces:
InputFromManager
- Direct Known Subclasses:
AnnotationComparisonInput
,AnnotationWithStrategy
,ConvertNamedChannelsInputToStack
public abstract class InputFromManagerDelegate<T extends InputFromManager>
extends Object
implements InputFromManager
A base class for
InputFromManager
-implementing classes that delegate to another.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(ErrorReporter errorReporter) Performs all tidying up, file-closing etc. after we are finished using theInputFromManager
protected T
The delegate.A unique name associated with the input.A path to a file from which this input originated.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.anchoranalysis.io.input.InputFromManager
allAssociatedPaths, asFile, identifierAsPath, pathForBindingRequired
-
Constructor Details
-
InputFromManagerDelegate
-
-
Method Details
-
identifier
Description copied from interface:InputFromManager
A unique name associated with the input.The name should never begin with or end with whitespace.
It should never contain backslashes, but forward-slashes are permitted.
- Specified by:
identifier
in interfaceInputFromManager
- Returns:
- a string uniquely (in the current dataset) identifying the input in a meaningful way.
-
pathForBinding
Description copied from interface:InputFromManager
A path to a file from which this input originated.This path is not guaranteed to be unique for each input i.e. multiple inputs may originate from the same path.
- Specified by:
pathForBinding
in interfaceInputFromManager
- Returns:
- the primary path associated with the input, if it exists.
-
close
Description copied from interface:InputFromManager
Performs all tidying up, file-closing etc. after we are finished using theInputFromManager
- Specified by:
close
in interfaceInputFromManager
- Parameters:
errorReporter
- whether errors are reported to.
-
toString
-
getDelegate
The delegate.- Returns:
- the delegate.
-