public static class JPEG2000Format.Checker extends AbstractChecker
| Constructor and Description |
|---|
Checker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFormat(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> handle)
Checks if the given stream is a valid stream for this
Format. |
boolean |
suffixNecessary()
Whether the file extension matching one of the format's suffixes is
necessary to identify the file as a source compatible with this format.
|
boolean |
suffixSufficient()
Whether the file extension matching one of the format's suffixes is
sufficient to identify the file as a source compatible with this format.
|
checkHeader, isFormat, isFormatasBrowsableLocation, asBrowsableLocation, getFormat, getFormatNamegetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationpublic boolean suffixNecessary()
CheckersuffixNecessary in interface CheckersuffixNecessary in class AbstractCheckerpublic boolean suffixSufficient()
CheckerIf false, the source will have to be read to determine compatibility.
suffixSufficient in interface CheckersuffixSufficient in class AbstractCheckerpublic boolean isFormat(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> handle) throws IOException
CheckerFormat.isFormat in interface CheckerisFormat in class AbstractCheckerhandle - the image source to check.stream is compatible with this Format.IOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.