public void registerCharsetMapping ( String contentType , String charSet ) { if ( knownCharsets . contains ( contentType ) ) { log . warn ( "{} is already registered; re-registering" ) ; } knownCharsets . put ( contentType , charSet ) ; }
Register a new contentType to charSet mapping .