Package com.drew.metadata.jfif
Class JfifDescriptor
- java.lang.Object
-
- com.drew.metadata.TagDescriptor<JfifDirectory>
-
- com.drew.metadata.jfif.JfifDescriptor
-
public class JfifDescriptor extends TagDescriptor<JfifDirectory>
Provides human-readable string versions of the tags stored in a JfifDirectory.- http://en.wikipedia.org/wiki/JPEG_File_Interchange_Format
- http://www.w3.org/Graphics/JPEG/jfif3.pdf
-
-
Constructor Summary
Constructors Constructor Description JfifDescriptor(JfifDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.java.lang.String
getImageResUnitsDescription()
java.lang.String
getImageResXDescription()
java.lang.String
getImageResYDescription()
java.lang.String
getImageVersionDescription()
-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
-
-
-
-
Constructor Detail
-
JfifDescriptor
public JfifDescriptor(JfifDirectory 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<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 java.lang.String getImageVersionDescription()
-
getImageResYDescription
public java.lang.String getImageResYDescription()
-
getImageResXDescription
public java.lang.String getImageResXDescription()
-
getImageResUnitsDescription
public java.lang.String getImageResUnitsDescription()
-
-