Class GeoTIFF

java.lang.Object
org.apache.sis.storage.geotiff.GeoTIFF
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
Reader

abstract class GeoTIFF extends Object implements Closeable
Base class of GeoTIFF image reader and writer. Those readers and writers are not thread safe. The GeoTiffStore class is responsible for synchronization if needed.
Since:
0.8
Version:
0.8
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final short
    The magic number for big-endian TIFF files or little-endian TIFF files.
    (package private) static final short
    The magic number for classic (32 bits) or big TIFF files.
    (package private) static final short
    The magic number for classic (32 bits) or big TIFF files.
    private DateFormat
    The object to use for parsing and formatting dates.
    (package private) static final short
    The magic number for big-endian TIFF files or little-endian TIFF files.
    private static final Locale
    The locale to use for parsers or formatter.
    (package private) final GeoTiffStore
    The store which created this reader or writer.
    private static final TimeZone
    The timezone for the date and time parsing, or null for the default.
  • Constructor Summary

    Constructors
    Constructor
    Description
    For subclass constructors.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) final Errors
    Returns the resources to use for formatting error messages.
    (package private) final DateFormat
    Returns the object to use for parsing and formatting dates.
    (package private) final Resources
    Returns the GeoTIFF-specific resource for error messages and warnings.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.io.Closeable

    close
  • Field Details

    • TIMEZONE

      private static final TimeZone TIMEZONE
      The timezone for the date and time parsing, or null for the default. This is not yet configurable, but may become in a future version.
    • LOCALE

      private static final Locale LOCALE
      The locale to use for parsers or formatter. This is not the locale for warnings or other messages emitted to the users.
    • BIG_ENDIAN

      static final short BIG_ENDIAN
      The magic number for big-endian TIFF files or little-endian TIFF files.
      See Also:
    • LITTLE_ENDIAN

      static final short LITTLE_ENDIAN
      The magic number for big-endian TIFF files or little-endian TIFF files.
      See Also:
    • CLASSIC

      static final short CLASSIC
      The magic number for classic (32 bits) or big TIFF files.
      See Also:
    • BIG_TIFF

      static final short BIG_TIFF
      The magic number for classic (32 bits) or big TIFF files.
      See Also:
    • store

      final GeoTiffStore store
      The store which created this reader or writer. This is also the synchronization lock.
    • dateFormat

      private transient DateFormat dateFormat
      The object to use for parsing and formatting dates. Created when first needed.
  • Constructor Details

    • GeoTIFF

      GeoTIFF(GeoTiffStore store)
      For subclass constructors.
  • Method Details

    • errors

      final Errors errors()
      Returns the resources to use for formatting error messages.
    • resources

      final Resources resources()
      Returns the GeoTIFF-specific resource for error messages and warnings.
    • getDateFormat

      final DateFormat getDateFormat()
      Returns the object to use for parsing and formatting dates.