Package gov.nih.mipav.model.file
Class MetadataExtractor.ExifThumbnailDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<T>
-
- gov.nih.mipav.model.file.MetadataExtractor.ExifDescriptorBase<MetadataExtractor.ExifThumbnailDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.ExifThumbnailDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.ExifThumbnailDescriptor extends MetadataExtractor.ExifDescriptorBase<MetadataExtractor.ExifThumbnailDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.ExifThumbnailDirectory
.- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description ExifThumbnailDescriptor(MetadataExtractor.ExifThumbnailDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.java.lang.String
getThumbnailLengthDescription()
java.lang.String
getThumbnailOffsetDescription()
-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.ExifDescriptorBase
get35mmFilmEquivFocalLengthDescription, getAccelerationDescription, getApertureValueDescription, getBitsPerSampleDescription, getBrightnessValueDescription, getCameraElevationAngleDescription, getCfaPattern2Description, getCfaPatternDescription, getColorSpaceDescription, getComponentConfigurationDescription, getCompressedAverageBitsPerPixelDescription, getCompressionDescription, getContrastDescription, getCustomRenderedDescription, getDigitalZoomRatioDescription, getExifImageHeightDescription, getExifImageWidthDescription, getExifVersionDescription, getExposureBiasDescription, getExposureModeDescription, getExposureProgramDescription, getExposureTimeDescription, getExtraSamplesDescription, getFileSourceDescription, getFillOrderDescription, getFlashDescription, getFlashPixVersionDescription, getFNumberDescription, getFocalLengthDescription, getFocalPlaneResolutionUnitDescription, getFocalPlaneXResolutionDescription, getFocalPlaneYResolutionDescription, getGainControlDescription, getHumidityDescription, getImageHeightDescription, getImageWidthDescription, getInteropIndexDescription, getInteropVersionDescription, getIsoEquivalentDescription, getJpegProcDescription, getLensSpecificationDescription, getMaxApertureValueDescription, getMeteringModeDescription, getNewSubfileTypeDescription, getOrientationDescription, getPhotometricInterpretationDescription, getPlanarConfigurationDescription, getPressureDescription, getReferenceBlackWhiteDescription, getResolutionDescription, getRowsPerStripDescription, getSampleFormatDescription, getSamplesPerPixelDescription, getSaturationDescription, getSceneCaptureTypeDescription, getSceneTypeDescription, getSensingMethodDescription, getSensitivityTypeRangeDescription, getSharpnessDescription, getShutterSpeedDescription, getStripByteCountsDescription, getSubfileTypeDescription, getSubjectDistanceDescription, getSubjectDistanceRangeDescription, getTemperatureDescription, getThresholdingDescription, getUserCommentDescription, getWaterDepthDescription, getWhiteBalanceDescription, getWhiteBalanceDescription, getWhiteBalanceModeDescription, getWindowsAuthorDescription, getWindowsCommentDescription, getWindowsKeywordsDescription, getWindowsSubjectDescription, getWindowsTitleDescription, getXResolutionDescription, getYCbCrPositioningDescription, getYCbCrSubsamplingDescription, getYResolutionDescription
-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
-
-
-
Constructor Detail
-
ExifThumbnailDescriptor
public ExifThumbnailDescriptor(MetadataExtractor.ExifThumbnailDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class:MetadataExtractor.TagDescriptor
Returns a descriptive value of the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the metadata segment. If no substitution is available, the value provided bygetString(tagType)
will be returned.- Overrides:
getDescription
in classMetadataExtractor.ExifDescriptorBase<MetadataExtractor.ExifThumbnailDirectory>
- Parameters:
tagType
- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
null
if the tag hasn't been defined.
-
getThumbnailLengthDescription
public java.lang.String getThumbnailLengthDescription()
-
getThumbnailOffsetDescription
public java.lang.String getThumbnailOffsetDescription()
-
-