com.drew.metadata.jfif
Class JfifDescriptor

java.lang.Object
  extended by com.drew.metadata.TagDescriptor<JfifDirectory>
      extended by com.drew.metadata.jfif.JfifDescriptor

public class JfifDescriptor
extends TagDescriptor<JfifDirectory>

Provides human-readable string versions of the tags stored in a JfifDirectory.

More info at: http://en.wikipedia.org/wiki/JPEG_File_Interchange_Format

Author:
Yuri Binev, Drew Noakes

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
JfifDescriptor(JfifDirectory directory)
           
 
Method Summary
 String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 String getImageResUnitsDescription()
           
 String getImageResXDescription()
           
 String getImageResYDescription()
           
 String getImageVersionDescription()
           
 
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JfifDescriptor

public JfifDescriptor(JfifDirectory directory)
Method Detail

getDescription

public String getDescription(int tagType)
Description copied from class: TagDescriptor
Returns a descriptive value of the 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<JfifDirectory>
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.

getImageVersionDescription

public String getImageVersionDescription()

getImageResYDescription

public String getImageResYDescription()

getImageResXDescription

public String getImageResXDescription()

getImageResUnitsDescription

public String getImageResUnitsDescription()


Copyright © 2012. All Rights Reserved.