Package gov.nih.mipav.model.file
Class MetadataExtractor.PngDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.PngDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PngDirectory extends MetadataExtractor.Directory
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private MetadataExtractor.PngChunkType_pngChunkTypeprivate java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_BACKGROUND_COLORstatic intTAG_BITS_PER_SAMPLEstatic intTAG_COLOR_TYPEstatic intTAG_COMPRESSION_TYPEstatic intTAG_FILTER_METHODstatic intTAG_GAMMAstatic intTAG_ICC_PROFILE_NAMEstatic intTAG_IMAGE_HEIGHTstatic intTAG_IMAGE_WIDTHstatic intTAG_INTERLACE_METHODstatic intTAG_LAST_MODIFICATION_TIMEstatic intTAG_PALETTE_HAS_TRANSPARENCYstatic intTAG_PALETTE_SIZEstatic intTAG_PIXELS_PER_UNIT_Xstatic intTAG_PIXELS_PER_UNIT_Ystatic intTAG_SIGNIFICANT_BITSstatic intTAG_SRGB_RENDERING_INTENTstatic intTAG_TEXTUAL_DATAstatic intTAG_UNIT_SPECIFIER-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description PngDirectory(MetadataExtractor.PngChunkType pngChunkType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Provides the name of the directory, for display purposes.MetadataExtractor.PngChunkTypegetPngChunkType()protected java.util.HashMap<java.lang.Integer,java.lang.String>getTagNameMap()Provides the map of tag names, hashed by tag type identifier.-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
-
-
-
Field Detail
-
TAG_IMAGE_WIDTH
public static final int TAG_IMAGE_WIDTH
- See Also:
- Constant Field Values
-
TAG_IMAGE_HEIGHT
public static final int TAG_IMAGE_HEIGHT
- See Also:
- Constant Field Values
-
TAG_BITS_PER_SAMPLE
public static final int TAG_BITS_PER_SAMPLE
- See Also:
- Constant Field Values
-
TAG_COLOR_TYPE
public static final int TAG_COLOR_TYPE
- See Also:
- Constant Field Values
-
TAG_COMPRESSION_TYPE
public static final int TAG_COMPRESSION_TYPE
- See Also:
- Constant Field Values
-
TAG_FILTER_METHOD
public static final int TAG_FILTER_METHOD
- See Also:
- Constant Field Values
-
TAG_INTERLACE_METHOD
public static final int TAG_INTERLACE_METHOD
- See Also:
- Constant Field Values
-
TAG_PALETTE_SIZE
public static final int TAG_PALETTE_SIZE
- See Also:
- Constant Field Values
-
TAG_PALETTE_HAS_TRANSPARENCY
public static final int TAG_PALETTE_HAS_TRANSPARENCY
- See Also:
- Constant Field Values
-
TAG_SRGB_RENDERING_INTENT
public static final int TAG_SRGB_RENDERING_INTENT
- See Also:
- Constant Field Values
-
TAG_GAMMA
public static final int TAG_GAMMA
- See Also:
- Constant Field Values
-
TAG_ICC_PROFILE_NAME
public static final int TAG_ICC_PROFILE_NAME
- See Also:
- Constant Field Values
-
TAG_TEXTUAL_DATA
public static final int TAG_TEXTUAL_DATA
- See Also:
- Constant Field Values
-
TAG_LAST_MODIFICATION_TIME
public static final int TAG_LAST_MODIFICATION_TIME
- See Also:
- Constant Field Values
-
TAG_BACKGROUND_COLOR
public static final int TAG_BACKGROUND_COLOR
- See Also:
- Constant Field Values
-
TAG_PIXELS_PER_UNIT_X
public static final int TAG_PIXELS_PER_UNIT_X
- See Also:
- Constant Field Values
-
TAG_PIXELS_PER_UNIT_Y
public static final int TAG_PIXELS_PER_UNIT_Y
- See Also:
- Constant Field Values
-
TAG_UNIT_SPECIFIER
public static final int TAG_UNIT_SPECIFIER
- See Also:
- Constant Field Values
-
TAG_SIGNIFICANT_BITS
public static final int TAG_SIGNIFICANT_BITS
- See Also:
- Constant Field Values
-
_tagNameMap
private final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
_pngChunkType
private final MetadataExtractor.PngChunkType _pngChunkType
-
-
Constructor Detail
-
PngDirectory
public PngDirectory(MetadataExtractor.PngChunkType pngChunkType)
-
-
Method Detail
-
getPngChunkType
public MetadataExtractor.PngChunkType getPngChunkType()
-
getName
public java.lang.String getName()
Description copied from class:MetadataExtractor.DirectoryProvides the name of the directory, for display purposes. E.g.Exif- Specified by:
getNamein classMetadataExtractor.Directory- Returns:
- the name of the directory
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:MetadataExtractor.DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classMetadataExtractor.Directory- Returns:
- the map of tag names
-
-