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 TypeMethodDescriptionvoidclose(ErrorReporter errorReporter) Performs all tidying up, file-closing etc. after we are finished using theInputFromManagerprotected TThe 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, waitMethods inherited from interface org.anchoranalysis.io.input.InputFromManager
allAssociatedPaths, asFile, identifierAsPath, pathForBindingRequired
-
Constructor Details
-
InputFromManagerDelegate
-
-
Method Details
-
identifier
Description copied from interface:InputFromManagerA 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:
identifierin interfaceInputFromManager- Returns:
- a string uniquely (in the current dataset) identifying the input in a meaningful way.
-
pathForBinding
Description copied from interface:InputFromManagerA 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:
pathForBindingin interfaceInputFromManager- Returns:
- the primary path associated with the input, if it exists.
-
close
Description copied from interface:InputFromManagerPerforms all tidying up, file-closing etc. after we are finished using theInputFromManager- Specified by:
closein interfaceInputFromManager- Parameters:
errorReporter- whether errors are reported to.
-
toString
-
getDelegate
The delegate.- Returns:
- the delegate.
-