public class DefaultInitializeService extends org.scijava.service.AbstractService implements InitializeService
InitializeService implementation.InitializeService| Constructor and Description |
|---|
DefaultInitializeService() |
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic ReaderFilter initializeReader(org.scijava.io.location.Location id) throws FormatException, IOException
InitializeServiceInitializeService.initializeReader(Location, SCIFIOConfig). Will not open the
image source while parsing metadata.initializeReader in interface InitializeServiceid - Name of the image source to be read.Reader.FormatExceptionIOExceptionpublic ReaderFilter initializeReader(org.scijava.io.location.Location id, SCIFIOConfig config) throws FormatException, IOException
InitializeServiceReader component that is ready to
open planes of the provided image source. The reader's Metadata and
source fields will be populated.initializeReader in interface InitializeServiceid - Name of the image source to be read.config - Configuration for this method execution.Reader.FormatExceptionIOExceptionpublic Writer initializeWriter(org.scijava.io.location.Location source, org.scijava.io.location.Location destination) throws FormatException, IOException
InitializeServiceInitializeService.initializeWriter(Location, Location, SCIFIOConfig). Will not
open the image source while parsing metadata.initializeWriter in interface InitializeServicesource - Name of the image source to use for parsing metadata.destination - Name of the writing destination.Writer.FormatExceptionIOExceptionpublic Writer initializeWriter(org.scijava.io.location.Location source, org.scijava.io.location.Location destination, SCIFIOConfig config) throws FormatException, IOException
InitializeServiceInitializeService.initializeWriter(Location, Location) with configuration
options.initializeWriter in interface InitializeServicesource - Name of the image source to use for parsing metadata.destination - Name of the writing destination.config - Configuration for this method execution.Writer.FormatExceptionIOExceptionpublic Writer initializeWriter(Metadata sourceMeta, org.scijava.io.location.Location destination) throws FormatException, IOException
InitializeServiceInitializeService.initializeWriter(Location, Location, SCIFIOConfig). Will not
open the image source while parsing metadata.initializeWriter in interface InitializeServicesourceMeta - Name of the image source to use for parsing metadata.destination - Name of the writing destination.Writer.FormatExceptionIOExceptionpublic Writer initializeWriter(Metadata sourceMeta, org.scijava.io.location.Location destination, SCIFIOConfig config) throws FormatException, IOException
InitializeServiceInitializeService.initializeWriter(Metadata, Location) with configuration
options.initializeWriter in interface InitializeServicesourceMeta - Name of the image source to use for parsing metadata.destination - Name of the writing destination.config - Configuration information to use for this parse.Writer.FormatExceptionIOExceptionpublic Metadata parseMetadata(org.scijava.io.location.Location id) throws IOException, FormatException
InitializeServiceMetadata without reading the underlying
pixels. Useful when translating to other formats, or simply extracting
image metadata. Will not open the image source when determining format
compatibility.parseMetadata in interface InitializeServiceid - Name of the image source to be read.Metadata for the given source.IOExceptionFormatExceptionpublic Metadata parseMetadata(org.scijava.io.location.Location id, SCIFIOConfig config) throws FormatException, IOException
InitializeServiceInitializeService.parseMetadata(Location) with a flag to open the underlying
dataset when parsing, if desired.parseMetadata in interface InitializeServiceid - Name of the image source to be read.config - Configuration for this method execution.Metadata for the given source.FormatExceptionIOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.