Package gov.nih.mipav.model.file
Class MetadataExtractor.PhotoshopDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.PhotoshopDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.PhotoshopDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PhotoshopDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.PhotoshopDirectory>
- Author:
- Drew Noakes https://drewnoakes.com, Yuri Binev, Payton Garland
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description PhotoshopDescriptor(MetadataExtractor.PhotoshopDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
get32BitNumberString(int tag)
private java.lang.String
getBinaryDataString(int tagType)
private java.lang.String
getBooleanString(int tag)
java.lang.String
getClippingPathNameString(int tagType)
java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.java.lang.String
getJpegQualityString()
java.lang.String
getPathString(int tagType)
java.lang.String
getPixelAspectRatioString()
java.lang.String
getPrintScaleDescription()
java.lang.String
getResolutionInfoDescription()
private java.lang.String
getSimpleString(int tagType)
java.lang.String
getSlicesDescription()
java.lang.String
getThumbnailDescription(int tagType)
java.lang.String
getVersionDescription()
-
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
-
PhotoshopDescriptor
public PhotoshopDescriptor(MetadataExtractor.PhotoshopDirectory 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.TagDescriptor<MetadataExtractor.PhotoshopDirectory>
- 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.
-
getJpegQualityString
public java.lang.String getJpegQualityString()
-
getPixelAspectRatioString
public java.lang.String getPixelAspectRatioString()
-
getPrintScaleDescription
public java.lang.String getPrintScaleDescription()
-
getResolutionInfoDescription
public java.lang.String getResolutionInfoDescription()
-
getVersionDescription
public java.lang.String getVersionDescription()
-
getSlicesDescription
public java.lang.String getSlicesDescription()
-
getThumbnailDescription
public java.lang.String getThumbnailDescription(int tagType)
-
getBooleanString
private java.lang.String getBooleanString(int tag)
-
get32BitNumberString
private java.lang.String get32BitNumberString(int tag)
-
getSimpleString
private java.lang.String getSimpleString(int tagType)
-
getBinaryDataString
private java.lang.String getBinaryDataString(int tagType)
-
getClippingPathNameString
public java.lang.String getClippingPathNameString(int tagType)
-
getPathString
public java.lang.String getPathString(int tagType)
-
-