public abstract class ComparableSource extends AnchorBean<ComparableSource>
|Constructor and Description|
|Modifier and Type||Method and Description|
Loads the source of elements from the file-system and converts to a
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public abstract Findable<ObjectCollection> loadAsObjects(Path reference, Dimensions dimensions, boolean debugMode, OperationContext context) throws InputReadFailedException
The location of elements on the file-system may be derived from a
reference- the source file-path used to help identify where elements are located on the file-system.
dimensions- how large the scene is, in which elements are being compared. This is usually the same as the image-size.
debugMode- true if debug-mode is activated, which can influence paths on the file-system.
context- records the execution time of certain operations.
ObjectCollectionand wrapped into a
Findableelement that indicates if they were successfully found on the file-system.
InputReadFailedException- if the objects cannot be successfully loaded.
Copyright © 2010–2022 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.