Class CharsetMapper

java.lang.Object
org.apache.catalina.util.CharsetMapper

public class CharsetMapper extends Object
Utility class that attempts to map from a Locale to the corresponding character set to be used for interpreting input text (or generating output text) when the Content-Type header does not include one. You can customize the behavior of this class by modifying the mapping data it loads, or by subclassing it (to change the algorithm) and then using your own version for a particular web application.
Author:
Craig R. McClanahan