Class AlwaysReject
Object
AnchorBean<ImageMetadataReader>
ImageMetadataReader
AlwaysReject
public class AlwaysReject
extends ImageMetadataReader
A special
ImageMetadataReader that will always throw an exception and reject a file.
This can be useful for debugging errors, to identify circumstances in which a ImageMetadataReader is used or not used.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
AlwaysReject
public AlwaysReject()
-
-
Method Details
-
openFile
public ImageMetadata openFile(Path path, StackReader defaultStackReader, OperationContext context) throws ImageIOException - Specified by:
openFilein classImageMetadataReader- Throws:
ImageIOException
-