public static class NRRDFormat.Checker extends AbstractChecker
| Modifier and Type | Field and Description |
|---|---|
static String |
NRRD_MAGIC_STRING |
| Constructor and Description |
|---|
Checker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFormat(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream)
Checks if the given stream is a valid stream for this
Format. |
boolean |
isFormat(org.scijava.io.location.Location loc,
SCIFIOConfig config)
Checks if the provided image source is compatible with this
Format. |
checkHeader, isFormat, suffixNecessary, suffixSufficientasBrowsableLocation, 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 static final String NRRD_MAGIC_STRING
public boolean isFormat(org.scijava.io.location.Location loc, SCIFIOConfig config)
CheckerFormat.
If open is true and the source name is insufficient to determine
the image type, the source may be opened for further analysis, or other
relatively expensive file system operations (such as file existence tests
and directory listings) may be performed.
isFormat in interface CheckerisFormat in class AbstractCheckerloc - path to the image source to check.config - SCIFIOConfig for this isFormat call.Format.public boolean isFormat(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream) throws IOException
CheckerFormat.isFormat in interface CheckerisFormat in class AbstractCheckerstream - the image source to check.stream is compatible with this Format.IOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.