Class Constants

java.lang.Object
org.mapfish.print.Constants

public final class Constants extends Object
Strings used in configurations etc... User: jeichar Date: Sep 30, 2010 Time: 4:27:46 PM
  • Field Details

    • JSON_LAYOUT_KEY

      public static final String JSON_LAYOUT_KEY
      The layout tag in the json spec file.
      See Also:
    • OUTPUT_FILENAME_KEY

      public static final String OUTPUT_FILENAME_KEY
      The output filename in the json spec file.
      See Also:
    • DEFAULT_ENCODING

      public static final String DEFAULT_ENCODING
      The default encoding to use throughout the system. This can be set by setting the system property:

      mapfish.file.encoding

      before starting the JVM.

    • DEFAULT_CHARSET

      public static final Charset DEFAULT_CHARSET
      The default charset. Depends on DEFAULT_ENCODING.
    • PDF_DPI

      public static final double PDF_DPI
      The DPI of a PDF according to the spec. Also the DPI used by old Openlayers versions (2.0 and earlier).
      See Also:
    • INCH_TO_MM

      public static final double INCH_TO_MM
      Used to convert inches in mm.
      See Also:
    • OGC_PIXEL_SIZE

      public static final double OGC_PIXEL_SIZE
      The OGC standard pixel size in mm.
      See Also:
    • OGC_DPI

      public static final double OGC_DPI
      The OGC standard dpi. (About 90 dpi)
      See Also:
    • OPACITY_PRECISION

      public static final double OPACITY_PRECISION
      The amount of precision to use when comparing opacity levels. For example 0.0009 is considered the same as 0.0 for opacity
      See Also: