< prev index next >

jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifGPSTagSet.java

Print this page




  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.imageio.plugins.tiff;
  27 
  28 import java.nio.charset.StandardCharsets;
  29 import java.util.ArrayList;
  30 import java.util.List;
  31 
  32 /**
  33  * A class representing the tags found in an Exif GPS Info IFD.
  34  *
  35  * <p> The definitions of the data types referenced by the field
  36  * definitions may be found in the {@link TIFFTag TIFFTag} class.
  37  *
  38  * @since 1.9
  39  * @see   ExifTIFFTagSet
  40  */
  41 public class ExifGPSTagSet extends TIFFTagSet {
  42     private static ExifGPSTagSet theInstance = null;
  43 
  44     /**
  45      * A tag indicating the GPS tag version (type BYTE, count = 4).
  46      *
  47      * @see #GPS_VERSION_2_2
  48      */
  49     public static final int TAG_GPS_VERSION_ID = 0;
  50 
  51     /**
  52      * A value to be used with the "GPSVersionID" tag to indicate GPS version
  53      * 2.2.  The value equals the US-ASCII encoding of the byte array
  54      * <code>{'2', '2', '0', '0'}</code>.
  55      *
  56      * @see #TAG_GPS_VERSION_ID
  57      */
  58     public static final String GPS_VERSION_2_2 =




  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.imageio.plugins.tiff;
  27 
  28 import java.nio.charset.StandardCharsets;
  29 import java.util.ArrayList;
  30 import java.util.List;
  31 
  32 /**
  33  * A class representing the tags found in an Exif GPS Info IFD.
  34  *
  35  * <p> The definitions of the data types referenced by the field
  36  * definitions may be found in the {@link TIFFTag TIFFTag} class.
  37  *
  38  * @since 9
  39  * @see   ExifTIFFTagSet
  40  */
  41 public class ExifGPSTagSet extends TIFFTagSet {
  42     private static ExifGPSTagSet theInstance = null;
  43 
  44     /**
  45      * A tag indicating the GPS tag version (type BYTE, count = 4).
  46      *
  47      * @see #GPS_VERSION_2_2
  48      */
  49     public static final int TAG_GPS_VERSION_ID = 0;
  50 
  51     /**
  52      * A value to be used with the "GPSVersionID" tag to indicate GPS version
  53      * 2.2.  The value equals the US-ASCII encoding of the byte array
  54      * <code>{'2', '2', '0', '0'}</code>.
  55      *
  56      * @see #TAG_GPS_VERSION_ID
  57      */
  58     public static final String GPS_VERSION_2_2 =


< prev index next >