code: public static String getJavaName(String encoding)
    {
      if (encoding == null)
        return null;
      
      String javaName = _javaName.get(encoding);
      
      if (javaName != null)
        return javaName;
  
      String upper = normalize(encoding);
  
      javaName = _javaName.get(upper);
      if (javaName == null) {
        String lookup = _mimeName.get(upper);
  
        if (lookup != null)
          javaName = _javaName.get(lookup);
      }
      
      if (javaName == null)
        javaName = upper;
      
      _javaName.put(encoding, javaName);
  
      return javaName;
    }
docs: Returns the Java name for the given encoding.
  
  @param encoding character encoding name
  
  @return Java encoding name