/** * Provides mapping from MIME type to WMS 1.0.0 Format. * * <p>WebMapServer api uses mime type internally for format information (indeed WMS 1.0.0 is the * only WMS specifcation not to use MIME type directly). * * <p> * * @param mimeType MIME type such as "image/gif" * @return Format well known WMS 1.0.0 format such as "GIF" */ public static final String getFormatValue(String mimeType) { return getParameterValue(mimeType, formatMimeTypes); }
/** * The WMS 1.0.0 specification uses internal mappings in the parameter value instead of direct * mime types. This will map a given mime type to its proper parameter value according to the * spec. * * @param mimeType the mimeType to use, such as "application/vnd.ogc.se_xml" * @return the proper parameter value, such as "WMS_XML" */ public static final String getExceptionValue(String mimeType) { return getParameterValue(mimeType, exceptionMimeTypes); }
/** * The WMS 1.0.0 specification uses internal mappings in the parameter value * instead of direct mime types. This will map a given mime type to its * proper parameter value according to the spec. * * @param mimeType the mimeType to use, such as "application/vnd.ogc.se_xml" * @return the proper parameter value, such as "WMS_XML" */ public static final String getExceptionValue( String mimeType) { return getParameterValue(mimeType, exceptionMimeTypes); }
/** * Provides mapping from MIME type to WMS 1.0.0 Format. * <p> * WebMapServer api uses mime type internally for format information (indeed WMS 1.0.0 is the only WMS specifcation * not to use MIME type directly). * </p> * <p> * * @param mimeType MIME type such as "image/gif" * @return Format well known WMS 1.0.0 format such as "GIF" */ public static final String getFormatValue( String mimeType ) { return getParameterValue(mimeType, formatMimeTypes); }