java.lang.Object
com.drew.metadata.TagDescriptor
com.drew.metadata.exif.ExifDescriptor
- All Implemented Interfaces:
- java.io.Serializable
- public class ExifDescriptor
- extends com.drew.metadata.TagDescriptor
|
Field Summary |
private boolean |
_allowDecimalRepresentationOfRationals
Dictates whether rational values will be represented in decimal format in instances
where decimal notation is elegant (such as 1/2 -> 0.5, but not 1/3). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_allowDecimalRepresentationOfRationals
private boolean _allowDecimalRepresentationOfRationals
- Dictates whether rational values will be represented in decimal format in instances
where decimal notation is elegant (such as 1/2 -> 0.5, but not 1/3).
ExifDescriptor
public ExifDescriptor(com.drew.metadata.Directory directory)
getDescription
public java.lang.String getDescription(int tagType)
throws com.drew.metadata.MetadataException
- 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 Exif segment. If no substitution is
available, the value provided by getString(int) will be returned.
getThumbnailDescription
private java.lang.String getThumbnailDescription()
throws com.drew.metadata.MetadataException
getIsoEquivalentDescription
private java.lang.String getIsoEquivalentDescription()
throws com.drew.metadata.MetadataException
getReferenceBlackWhiteDescription
private java.lang.String getReferenceBlackWhiteDescription()
throws com.drew.metadata.MetadataException
getExifVersionDescription
private java.lang.String getExifVersionDescription()
throws com.drew.metadata.MetadataException
getFlashPixVersionDescription
private java.lang.String getFlashPixVersionDescription()
throws com.drew.metadata.MetadataException
getSceneTypeDescription
private java.lang.String getSceneTypeDescription()
throws com.drew.metadata.MetadataException
getFileSourceDescription
private java.lang.String getFileSourceDescription()
throws com.drew.metadata.MetadataException
getExposureBiasDescription
private java.lang.String getExposureBiasDescription()
throws com.drew.metadata.MetadataException
getMaxApertureValueDescription
private java.lang.String getMaxApertureValueDescription()
throws com.drew.metadata.MetadataException
getApertureValueDescription
private java.lang.String getApertureValueDescription()
throws com.drew.metadata.MetadataException
getExposureProgramDescription
private java.lang.String getExposureProgramDescription()
throws com.drew.metadata.MetadataException
getYCbCrSubsamplingDescription
private java.lang.String getYCbCrSubsamplingDescription()
throws com.drew.metadata.MetadataException
getPlanarConfigurationDescription
private java.lang.String getPlanarConfigurationDescription()
throws com.drew.metadata.MetadataException
getSamplesPerPixelDescription
private java.lang.String getSamplesPerPixelDescription()
getRowsPerStripDescription
private java.lang.String getRowsPerStripDescription()
getStripByteCountsDescription
private java.lang.String getStripByteCountsDescription()
getPhotometricInterpretationDescription
private java.lang.String getPhotometricInterpretationDescription()
throws com.drew.metadata.MetadataException
getCompressionDescription
private java.lang.String getCompressionDescription()
throws com.drew.metadata.MetadataException
getBitsPerSampleDescription
private java.lang.String getBitsPerSampleDescription()
getThumbnailImageWidthDescription
private java.lang.String getThumbnailImageWidthDescription()
getThumbnailImageHeightDescription
private java.lang.String getThumbnailImageHeightDescription()
getFocalPlaneXResolutionDescription
private java.lang.String getFocalPlaneXResolutionDescription()
throws com.drew.metadata.MetadataException
getFocalPlaneYResolutionDescription
private java.lang.String getFocalPlaneYResolutionDescription()
throws com.drew.metadata.MetadataException
getFocalPlaneResolutionUnitDescription
private java.lang.String getFocalPlaneResolutionUnitDescription()
throws com.drew.metadata.MetadataException
getExifImageWidthDescription
private java.lang.String getExifImageWidthDescription()
throws com.drew.metadata.MetadataException
getExifImageHeightDescription
private java.lang.String getExifImageHeightDescription()
throws com.drew.metadata.MetadataException
getColorSpaceDescription
private java.lang.String getColorSpaceDescription()
throws com.drew.metadata.MetadataException
getFocalLengthDescription
private java.lang.String getFocalLengthDescription()
throws com.drew.metadata.MetadataException
getFlashDescription
private java.lang.String getFlashDescription()
throws com.drew.metadata.MetadataException
getWhiteBalanceDescription
private java.lang.String getWhiteBalanceDescription()
throws com.drew.metadata.MetadataException
getMeteringModeDescription
private java.lang.String getMeteringModeDescription()
throws com.drew.metadata.MetadataException
getSubjectDistanceDescription
private java.lang.String getSubjectDistanceDescription()
throws com.drew.metadata.MetadataException
getCompressionLevelDescription
private java.lang.String getCompressionLevelDescription()
throws com.drew.metadata.MetadataException
getThumbnailLengthDescription
private java.lang.String getThumbnailLengthDescription()
getThumbnailOffsetDescription
private java.lang.String getThumbnailOffsetDescription()
getYResolutionDescription
private java.lang.String getYResolutionDescription()
throws com.drew.metadata.MetadataException
getXResolutionDescription
private java.lang.String getXResolutionDescription()
throws com.drew.metadata.MetadataException
getExposureTimeDescription
private java.lang.String getExposureTimeDescription()
getShutterSpeedDescription
private java.lang.String getShutterSpeedDescription()
throws com.drew.metadata.MetadataException
getFNumberDescription
private java.lang.String getFNumberDescription()
throws com.drew.metadata.MetadataException
getYCbCrPositioningDescription
private java.lang.String getYCbCrPositioningDescription()
throws com.drew.metadata.MetadataException
getOrientationDescription
private java.lang.String getOrientationDescription()
throws com.drew.metadata.MetadataException
getResolutionDescription
private java.lang.String getResolutionDescription()
throws com.drew.metadata.MetadataException
getSensingMethodDescription
private java.lang.String getSensingMethodDescription()
throws com.drew.metadata.MetadataException
getComponentConfigurationDescription
private java.lang.String getComponentConfigurationDescription()
throws com.drew.metadata.MetadataException
convertBytesToVersionString
public static java.lang.String convertBytesToVersionString(int[] components)
- Takes a series of 4 bytes from the specified offset, and converts these to a
well-known version number, where possible. For example, (hex) 30 32 31 30 == 2.10).