Package com.drew.metadata.icc
Class IccDescriptor
- java.lang.Object
-
- com.drew.metadata.TagDescriptor<IccDirectory>
-
- com.drew.metadata.icc.IccDescriptor
-
public class IccDescriptor extends TagDescriptor<IccDirectory>
-
-
Constructor Summary
Constructors Constructor Description IccDescriptor(IccDirectory directory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
formatDoubleAsString(double value, int precision, boolean zeroes)
java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
-
-
-
-
Constructor Detail
-
IccDescriptor
public IccDescriptor(IccDirectory 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<IccDirectory>
- 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.
-
formatDoubleAsString
public static java.lang.String formatDoubleAsString(double value, int precision, boolean zeroes)
-
-