- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- io.scif.AbstractSCIFIOPlugin
-
- io.scif.AbstractHasFormat
-
- io.scif.AbstractChecker
-
- io.scif.formats.MNGFormat.Checker
-
- All Implemented Interfaces:
Checker,HasFormat,SCIFIOPlugin,Comparable<org.scijava.Prioritized>,org.scijava.Contextual,org.scijava.Identifiable,org.scijava.Locatable,org.scijava.log.Logged,org.scijava.plugin.HasPluginInfo,org.scijava.plugin.RichPlugin,org.scijava.plugin.SciJavaPlugin,org.scijava.Prioritized,org.scijava.Versioned
- Enclosing class:
- MNGFormat
public static class MNGFormat.Checker extends AbstractChecker
-
-
Field Summary
Fields Modifier and Type Field Description static longMNG_MAGIC_BYTES
-
Constructor Summary
Constructors Constructor Description Checker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFormat(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream)Checks if the given stream is a valid stream for thisFormat.-
Methods inherited from class io.scif.AbstractChecker
checkHeader, isFormat, isFormat, suffixNecessary, suffixSufficient
-
Methods inherited from class io.scif.AbstractHasFormat
asBrowsableLocation, asBrowsableLocation, getFormat, getFormatName
-
Methods inherited from class io.scif.AbstractSCIFIOPlugin
getVersion, log
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface io.scif.HasFormat
getFormat, getFormatName
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier
-
Methods inherited from interface io.scif.SCIFIOPlugin
getVersion, log
-
-
-
-
Field Detail
-
MNG_MAGIC_BYTES
public static final long MNG_MAGIC_BYTES
- See Also:
- Constant Field Values
-
-
Method Detail
-
isFormat
public boolean isFormat(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream) throws IOException
Description copied from interface:CheckerChecks if the given stream is a valid stream for thisFormat.- Specified by:
isFormatin interfaceChecker- Overrides:
isFormatin classAbstractChecker- Parameters:
stream- the image source to check.- Returns:
- True if
streamis compatible with thisFormat. - Throws:
IOException
-
-