com.drew.metadata.exif
Class GpsDescriptor

java.lang.Object
  extended by com.drew.metadata.TagDescriptor
      extended by com.drew.metadata.exif.GpsDescriptor
All Implemented Interfaces:
java.io.Serializable

public class GpsDescriptor
extends TagDescriptor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
GpsDescriptor(Directory directory)
           
 
Method Summary
 java.lang.String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 java.lang.String getGpsAltitudeDescription()
           
 java.lang.String getGpsAltitudeRefDescription()
           
 java.lang.String getGpsDestinationReferenceDescription()
           
 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()
           
 java.lang.String getHoursMinutesSecondsDescription(int tagType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpsDescriptor

public GpsDescriptor(Directory directory)
Method Detail

getDescription

public java.lang.String getDescription(int tagType)
                                throws MetadataException
Description copied from class: TagDescriptor
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.

This and getString(int) are the only 'get' methods that won't throw an exception.

Specified by:
getDescription in class TagDescriptor
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.
Throws:
MetadataException

getGpsLatitudeDescription

public java.lang.String getGpsLatitudeDescription()
                                           throws MetadataException
Throws:
MetadataException

getGpsLongitudeDescription

public java.lang.String getGpsLongitudeDescription()
                                            throws MetadataException
Throws:
MetadataException

getHoursMinutesSecondsDescription

public java.lang.String getHoursMinutesSecondsDescription(int tagType)
                                                   throws MetadataException
Throws:
MetadataException

getGpsTimeStampDescription

public java.lang.String getGpsTimeStampDescription()
                                            throws MetadataException
Throws:
MetadataException

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()
                                              throws MetadataException
Throws:
MetadataException

getGpsAltitudeDescription

public java.lang.String getGpsAltitudeDescription()
                                           throws MetadataException
Throws:
MetadataException


Copyright © 2006 Drew Noakes. All Rights Reserved.