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 java.lang.String
getDegreesMinutesSecondsDescription()
java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.java.lang.String
getGpsAltitudeDescription()
java.lang.String
getGpsAltitudeRefDescription()
java.lang.String
getGpsDestinationReferenceDescription()
java.lang.String
getGpsDifferentialDescription()
java.lang.String
getGpsDirectionDescription(int tagType)
java.lang.String
getGpsDirectionReferenceDescription(int tagType)
java.lang.String
getGpsLatitudeDescription()
java.lang.String
getGpsLongitudeDescription()
java.lang.String
getGpsMeasureModeDescription()
java.lang.String
getGpsSpeedRefDescription()
java.lang.String
getGpsStatusDescription()
java.lang.String
getGpsTimeStampDescription()
-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString
-
-
-
-
Constructor Detail
-
GpsDescriptor
public GpsDescriptor(GpsDirectory 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<GpsDirectory>
- 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.
-
getGpsLatitudeDescription
public java.lang.String getGpsLatitudeDescription()
-
getGpsLongitudeDescription
public java.lang.String getGpsLongitudeDescription()
-
getGpsTimeStampDescription
public java.lang.String getGpsTimeStampDescription()
-
getGpsDestinationReferenceDescription
public java.lang.String getGpsDestinationReferenceDescription()
-
getGpsDirectionDescription
public java.lang.String getGpsDirectionDescription(int tagType)
-
getGpsDirectionReferenceDescription
public java.lang.String getGpsDirectionReferenceDescription(int tagType)
-
getGpsSpeedRefDescription
public java.lang.String getGpsSpeedRefDescription()
-
getGpsMeasureModeDescription
public java.lang.String getGpsMeasureModeDescription()
-
getGpsStatusDescription
public java.lang.String getGpsStatusDescription()
-
getGpsAltitudeRefDescription
public java.lang.String getGpsAltitudeRefDescription()
-
getGpsAltitudeDescription
public java.lang.String getGpsAltitudeDescription()
-
getGpsDifferentialDescription
public java.lang.String getGpsDifferentialDescription()
-
getDegreesMinutesSecondsDescription
public java.lang.String getDegreesMinutesSecondsDescription()
-
-