Class IccDescriptor

java.lang.Object
com.drew.metadata.TagDescriptor<IccDirectory>
com.drew.metadata.icc.IccDescriptor

public class IccDescriptor extends TagDescriptor<IccDirectory>
  • Field Details

  • Constructor Details

    • IccDescriptor

      public IccDescriptor(IccDirectory directory)
  • Method Details

    • getDescription

      public 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 by getString(tagType) will be returned.
      Overrides:
      getDescription in class TagDescriptor<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.
    • getTagDataString

      private String getTagDataString(int tagType)
    • formatDoubleAsString

      public static String formatDoubleAsString(double value, int precision, boolean zeroes)
    • getRenderingIntentDescription

      private String getRenderingIntentDescription()
    • getPlatformDescription

      private String getPlatformDescription()
    • getProfileClassDescription

      private String getProfileClassDescription()
    • getProfileVersionDescription

      private String getProfileVersionDescription()
    • getInt32FromString

      private static int getInt32FromString(String string) throws IOException
      Throws:
      IOException