M - The Metadata type that will be returned by this
Parser.public interface TypedParser<M extends TypedMetadata> extends Parser
Parser implementations that use generic
parameters.
Generics allow each concrete Parser implementation to type narrow the
return the type of Metadata from its parse(org.scijava.io.location.Location) methods, as well
as the argument Metadata types for the same methods.
getAdvancedImageUsedLocations, getAdvancedUsedLocations, getImageUsedFiles, getImageUsedFiles, getMetadata, getSource, getSourceLocation, getSupportedMetadataLevels, getUsedFiles, getUsedLocations, parse, parse, parse, parse, updateSourcegetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationfileGroupOption, hasCompanionFiles, isSingleFileM parse(org.scijava.io.location.Location loc) throws IOException, FormatException
ParserMetadata object using the provided location of an image
source.parse in interface Parserloc - the Location of the image source to parse.Metadata object of the appropriate type.IOExceptionFormatExceptionM parse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> handle) throws IOException, FormatException
ParserMetadata object from the provided image source.parse in interface Parserhandle - a random access handle to the image source to parse.Metadata object of the appropriate type.IOExceptionFormatExceptionM parse(org.scijava.io.location.Location loc, SCIFIOConfig config) throws IOException, FormatException
ParserParser.parse(Location) with configuration options.parse in interface Parserloc - Name of the image source to parse.config - Configuration information to use for this parse.Metadata object of the appropriate type.IOExceptionFormatExceptionM parse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> handle, SCIFIOConfig config) throws IOException, FormatException
ParserParser.parse(DataHandle) with configuration options.parse in interface Parserhandle - a DataHandle to the image source to parse.config - Configuration information to use for this parse.Metadata object of the appropriate type.IOExceptionFormatExceptionM parse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, M meta) throws IOException, FormatException
parse method, using
TypedMetadata to avoid type erasure conflicts with
Parser.parse(DataHandle, Metadata).IOExceptionFormatExceptionParser.parse(DataHandle, Metadata)M parse(org.scijava.io.location.Location fileName, M meta, SCIFIOConfig config) throws IOException, FormatException
parse method, using
TypedMetadata to avoid type erasure conflicts with
Parser.parse(Location, Metadata).IOExceptionFormatExceptionParser.parse(Location, Metadata, SCIFIOConfig)M parse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, M meta, SCIFIOConfig config) throws IOException, FormatException
parse method, using
TypedMetadata to avoid type erasure conflicts with
Parser.parse(DataHandle, Metadata).IOExceptionFormatExceptionParser.parse(DataHandle, Metadata, SCIFIOConfig)Copyright © 2011–2026 SCIFIO. All rights reserved.