Package com.drew.metadata.exif
Class GpsDescriptor
- java.lang.Object
-
- com.drew.metadata.TagDescriptor<GpsDirectory>
-
- com.drew.metadata.exif.GpsDescriptor
-
public class GpsDescriptor extends TagDescriptor<GpsDirectory>
Provides human-readable string representations of tag values stored in aGpsDirectory.
-
-
Constructor Summary
Constructors Constructor Description GpsDescriptor(GpsDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDegreesMinutesSecondsDescription()StringgetDescription(int tagType)Returns a descriptive value of the specified tag for this image.StringgetGpsAltitudeDescription()StringgetGpsAltitudeRefDescription()StringgetGpsDestinationReferenceDescription()StringgetGpsDifferentialDescription()StringgetGpsDirectionDescription(int tagType)StringgetGpsDirectionReferenceDescription(int tagType)StringgetGpsLatitudeDescription()StringgetGpsLongitudeDescription()StringgetGpsMeasureModeDescription()StringgetGpsSpeedRefDescription()StringgetGpsStatusDescription()StringgetGpsTimeStampDescription()-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
-
-
-
-
Constructor Detail
-
GpsDescriptor
public GpsDescriptor(GpsDirectory directory)
-
-
Method Detail
-
getDescription
public String getDescription(int tagType)
Description copied from class:TagDescriptorReturns 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:
getDescriptionin classTagDescriptor<GpsDirectory>- Parameters:
tagType- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
nullif the tag hasn't been defined.
-
getGpsLatitudeDescription
public String getGpsLatitudeDescription()
-
getGpsLongitudeDescription
public String getGpsLongitudeDescription()
-
getGpsTimeStampDescription
public String getGpsTimeStampDescription()
-
getGpsDestinationReferenceDescription
public String getGpsDestinationReferenceDescription()
-
getGpsDirectionDescription
public String getGpsDirectionDescription(int tagType)
-
getGpsDirectionReferenceDescription
public String getGpsDirectionReferenceDescription(int tagType)
-
getGpsSpeedRefDescription
public String getGpsSpeedRefDescription()
-
getGpsMeasureModeDescription
public String getGpsMeasureModeDescription()
-
getGpsStatusDescription
public String getGpsStatusDescription()
-
getGpsAltitudeRefDescription
public String getGpsAltitudeRefDescription()
-
getGpsAltitudeDescription
public String getGpsAltitudeDescription()
-
getGpsDifferentialDescription
public String getGpsDifferentialDescription()
-
getDegreesMinutesSecondsDescription
public String getDegreesMinutesSecondsDescription()
-
-