Package org.locationtech.jts.wms
Class MapImageFormatChooser
- java.lang.Object
-
- org.locationtech.jts.wms.MapImageFormatChooser
-
public class MapImageFormatChooser extends Object
A Utility class to select the optimal Map Format based on some preferences.- Author:
- Chris Hodgson chodgson@refractions.net
-
-
Constructor Summary
Constructors Constructor Description MapImageFormatChooser()
Creates a new instance of MapImageFormatChooser.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
chooseFormat(String[] formats)
static boolean
isKnownFormat(String format)
void
setPreferLossyCompression(boolean useLossy)
void
setTransparencyRequired(boolean transparencyRequired)
-
-
-
Method Detail
-
isKnownFormat
public static boolean isKnownFormat(String format)
-
setTransparencyRequired
public void setTransparencyRequired(boolean transparencyRequired)
-
setPreferLossyCompression
public void setPreferLossyCompression(boolean useLossy)
-
-