public abstract static class TIFFFormat.BaseTIFFParser extends MinimalTIFFFormat.Parser<TIFFFormat.Metadata>
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DATE_FORMATS |
| Constructor and Description |
|---|
BaseTIFFParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getExifTagName(int tag) |
protected String |
getImageCreationDate(TIFFFormat.Metadata meta)
Retrieves the image creation date.
|
protected void |
initMetadata(TIFFFormat.Metadata meta,
SCIFIOConfig config)
Populates the metadata hashtable and metadata store.
|
protected void |
put(MetaTable table,
String key,
IFD ifd,
int tag) |
protected void |
putInt(MetaTable table,
String key,
IFD ifd,
int tag) |
protected void |
typedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream,
TIFFFormat.Metadata meta,
SCIFIOConfig config)
A helper method, called by
AbstractParser.parse(DataHandle, TypedMetadata). |
close, getAdvancedImageUsedLocations, getAdvancedUsedLocations, getImageUsedFiles, getImageUsedFiles, getMetadata, getSource, getSourceLocation, getSupportedMetadataLevels, getUsedFiles, getUsedLocations, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, setMetaData, updateSourcefileGroupOption, hasCompanionFiles, 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, setInfogetLocationfileGroupOption, hasCompanionFiles, isSingleFilepublic static final String[] DATE_FORMATS
protected void typedParse(org.scijava.io.handle.DataHandle<org.scijava.io.location.Location> stream, TIFFFormat.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 MinimalTIFFFormat.Parser<TIFFFormat.Metadata>IOExceptionFormatExceptionprotected void initMetadata(TIFFFormat.Metadata meta, SCIFIOConfig config) throws FormatException, IOException
FormatExceptionIOExceptionprotected String getImageCreationDate(TIFFFormat.Metadata meta)
public static String getExifTagName(int tag)
Copyright © 2011–2026 SCIFIO. All rights reserved.