Interface AbstractWmtsSource.HasFormat

All Known Subinterfaces:
AbstractWmtsSource.HasWmtsSourceOptions
All Known Implementing Classes:
NoOpWmtsSource, WmtsSource
Enclosing class:
AbstractWmtsSource

public static interface AbstractWmtsSource.HasFormat
Interface to be implemented by sources that should provide WMTS image format management.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the tile image MIME type.
    void
    setFormat(String format)
    Sets the tile image MIME type, for example image/png.
  • Method Details

    • getFormat

      String getFormat()
      Returns the tile image MIME type.
      Returns:
      the image format (e.g. image/png), or null if not set
    • setFormat

      void setFormat(String format)
      Sets the tile image MIME type, for example image/png. Set only at creation time.
      Parameters:
      format - image format to set