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.StringgetDegreesMinutesSecondsDescription()java.lang.StringgetDescription(int tagType)Returns a descriptive value of the specified tag for this image.java.lang.StringgetGpsAltitudeDescription()java.lang.StringgetGpsAltitudeRefDescription()java.lang.StringgetGpsDestinationReferenceDescription()java.lang.StringgetGpsDifferentialDescription()java.lang.StringgetGpsDirectionDescription(int tagType)java.lang.StringgetGpsDirectionReferenceDescription(int tagType)java.lang.StringgetGpsLatitudeDescription()java.lang.StringgetGpsLongitudeDescription()java.lang.StringgetGpsMeasureModeDescription()java.lang.StringgetGpsSpeedRefDescription()java.lang.StringgetGpsStatusDescription()java.lang.StringgetGpsTimeStampDescription()-
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: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 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()
-
-