Package com.drew.metadata.photoshop
Class PsdHeaderDescriptor
- java.lang.Object
-
- com.drew.metadata.TagDescriptor<PsdHeaderDirectory>
-
- com.drew.metadata.photoshop.PsdHeaderDescriptor
-
public class PsdHeaderDescriptor extends TagDescriptor<PsdHeaderDirectory>
-
-
Constructor Summary
Constructors Constructor Description PsdHeaderDescriptor(PsdHeaderDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBitsPerChannelDescription()
java.lang.String
getChannelCountDescription()
java.lang.String
getColorModeDescription()
java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.java.lang.String
getImageHeightDescription()
java.lang.String
getImageWidthDescription()
-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
-
-
-
-
Constructor Detail
-
PsdHeaderDescriptor
public PsdHeaderDescriptor(PsdHeaderDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class: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 classTagDescriptor<PsdHeaderDirectory>
- 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.
-
getChannelCountDescription
public java.lang.String getChannelCountDescription()
-
getBitsPerChannelDescription
public java.lang.String getBitsPerChannelDescription()
-
getColorModeDescription
public java.lang.String getColorModeDescription()
-
getImageHeightDescription
public java.lang.String getImageHeightDescription()
-
getImageWidthDescription
public java.lang.String getImageWidthDescription()
-
-