public static class MicromanagerFormat.Parser extends AbstractParser<MicromanagerFormat.Metadata>
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_FORMAT |
| 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.
|
boolean |
hasCompanionFiles()
Returns true if this format supports multi-file datasets.
|
boolean |
isSingleFile(org.scijava.io.location.Location id)
Returns true if this is a single-file format.
|
void |
populateMetadata(String[] jsonData,
MicromanagerFormat.Metadata source,
Metadata dest) |
protected void |
typedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream,
MicromanagerFormat.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, updateSourcecloseasBrowsableLocation, asBrowsableLocation, getFormat, getFormatNamegetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationpublic static final String DATE_FORMAT
public void populateMetadata(String[] jsonData, MicromanagerFormat.Metadata source, Metadata dest) throws FormatException, IOException
FormatExceptionIOExceptionprotected void typedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, MicromanagerFormat.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<MicromanagerFormat.Metadata>IOExceptionFormatExceptionpublic org.scijava.io.location.Location[] getImageUsedFiles(int imageIndex, boolean noPixels)
ParsergetImageUsedFiles in interface ParsergetImageUsedFiles in class AbstractParser<MicromanagerFormat.Metadata>public boolean isSingleFile(org.scijava.io.location.Location id)
GroupableisSingleFile in interface GroupableisSingleFile in class AbstractGroupablepublic int fileGroupOption(org.scijava.io.location.Location id)
GroupablefileGroupOption in interface GroupablefileGroupOption in class AbstractGroupablepublic boolean hasCompanionFiles()
GroupablehasCompanionFiles in interface GroupablehasCompanionFiles in class AbstractGroupableCopyright © 2011–2026 SCIFIO. All rights reserved.