public static class DICOMFormat.Parser extends AbstractParser<DICOMFormat.Metadata>
| Constructor and Description |
|---|
Parser() |
| Modifier and Type | Method and Description |
|---|---|
int |
fileGroupOption(org.scijava.io.location.Location id)
Returns an int indicating that we cannot, must, or might group the files in
a given dataset.
|
org.scijava.io.location.Location[] |
getImageUsedFiles(int imageIndex,
boolean noPixels)
Returns an array of filenames needed to open the indicated image.
|
protected void |
typedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream,
DICOMFormat.Metadata meta,
SCIFIOConfig config)
A helper method, called by
AbstractParser.parse(DataHandle, TypedMetadata). |
close, getAdvancedImageUsedLocations, getAdvancedUsedLocations, getImageUsedFiles, getMetadata, getSource, getSourceLocation, getSupportedMetadataLevels, getUsedFiles, getUsedLocations, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, setMetaData, updateSourcehasCompanionFiles, isSingleFilecloseasBrowsableLocation, asBrowsableLocation, getFormat, getFormatNamegetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationhasCompanionFiles, isSingleFilepublic int fileGroupOption(org.scijava.io.location.Location id) throws FormatException, IOException
GroupablefileGroupOption in interface GroupablefileGroupOption in class AbstractGroupableFormatExceptionIOExceptionprotected void typedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, DICOMFormat.Metadata meta, SCIFIOConfig config) throws IOException, FormatException
AbstractParserAbstractParser.parse(DataHandle, TypedMetadata).
Allows for boilerplate code to come after parsing, specifically calls to
Metadata.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.
typedParse in class AbstractParser<DICOMFormat.Metadata>IOExceptionFormatExceptionpublic org.scijava.io.location.Location[] getImageUsedFiles(int imageIndex, boolean noPixels)
ParsergetImageUsedFiles in interface ParsergetImageUsedFiles in class AbstractParser<DICOMFormat.Metadata>Copyright © 2011–2026 SCIFIO. All rights reserved.