Package org.mapfish.print
Class Constants
- java.lang.Object
-
- org.mapfish.print.Constants
-
public final class Constants extends java.lang.Object
Strings used in configurations etc... User: jeichar Date: Sep 30, 2010 Time: 4:27:46 PM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Constants.Style
Style related constants.
-
Field Summary
Fields Modifier and Type Field Description static java.nio.charset.Charset
DEFAULT_CHARSET
The default charset.static java.lang.String
DEFAULT_ENCODING
The default encoding to use throughout the system.static double
INCH_TO_MM
Used to convert inches in mm.static java.lang.String
JSON_LAYOUT_KEY
The layout tag in the json spec file.static double
OGC_DPI
The OGC standard dpi.static double
OGC_PIXEL_SIZE
The OGC standard pixel size in mm.static double
OPACITY_PRECISION
The amount of precision to use when comparing opacity levels.static java.lang.String
OUTPUT_FILENAME_KEY
The output filename in the json spec file.static double
PDF_DPI
The DPI of a PDF according to the spec.
-
-
-
Field Detail
-
JSON_LAYOUT_KEY
public static final java.lang.String JSON_LAYOUT_KEY
The layout tag in the json spec file.- See Also:
- Constant Field Values
-
OUTPUT_FILENAME_KEY
public static final java.lang.String OUTPUT_FILENAME_KEY
The output filename in the json spec file.- See Also:
- Constant Field Values
-
DEFAULT_ENCODING
public static final java.lang.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 java.nio.charset.Charset DEFAULT_CHARSET
The default charset. Depends onDEFAULT_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:
- Constant Field Values
-
INCH_TO_MM
public static final double INCH_TO_MM
Used to convert inches in mm.- See Also:
- Constant Field Values
-
OGC_PIXEL_SIZE
public static final double OGC_PIXEL_SIZE
The OGC standard pixel size in mm.- See Also:
- Constant Field Values
-
OGC_DPI
public static final double OGC_DPI
The OGC standard dpi. (About 90 dpi)- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-