-
- All Implemented Interfaces:
Groupable,HasFormat,HasSource,Parser,SCIFIOPlugin,TypedParser<FITSFormat.Metadata>,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:
- FITSFormat
public static class FITSFormat.Parser extends AbstractParser<FITSFormat.Metadata>
-
-
Constructor Summary
Constructors Constructor Description Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidtypedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, FITSFormat.Metadata meta, SCIFIOConfig config)A helper method, called byAbstractParser.parse(DataHandle, TypedMetadata).-
Methods inherited from class io.scif.AbstractParser
close, getAdvancedImageUsedLocations, getAdvancedUsedLocations, getImageUsedFiles, getImageUsedFiles, getMetadata, getSource, getSourceLocation, getSupportedMetadataLevels, getUsedFiles, getUsedLocations, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, setMetaData, updateSource
-
Methods inherited from class io.scif.AbstractGroupable
fileGroupOption, hasCompanionFiles, isSingleFile
-
Methods inherited from class io.scif.AbstractHasSource
close
-
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.Groupable
fileGroupOption, hasCompanionFiles, isSingleFile
-
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
-
-
-
-
Method Detail
-
typedParse
protected void typedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, FITSFormat.Metadata meta, SCIFIOConfig config) throws IOException, FormatException
Description copied from class:AbstractParserA helper method, called byAbstractParser.parse(DataHandle, TypedMetadata). Allows for boilerplate code to come after parsing, specifically calls toMetadata.populateImageMetadata().This method should be implemented to populate any format-specific Metadata.
NB: if a Format requires type-specific parsing to occur before the Abstract layer, Override
#parse(String, TypedMetadata)instead.- Specified by:
typedParsein classAbstractParser<FITSFormat.Metadata>- Throws:
IOExceptionFormatException
-
-