@SuppressWarnings("unchecked") public static void addExtraEncoding(String name,IExtraEncoding enc){
synchronized (extraEncodings) {
    extraEncodings.put(name.toLowerCase(),enc);
  }
}

@ SuppressWarnings ( "unchecked" ) public static void addExtraEncoding ( String name , IExtraEncoding enc ) { synchronized ( extraEncodings ) { extraEncodings . put ( name . toLowerCase ( ) , enc ) ; } }
adds an extra encoding .
