/**
  * Returns appropriate ByteToCharConverter subclass instance.
  *
  * @param string represents encoding
  */
 public static ByteToCharConverter getConverter(String encoding)
     throws UnsupportedEncodingException {
   Object cvt;
   cvt = Converters.newConverter(Converters.BYTE_TO_CHAR, encoding);
   return (ByteToCharConverter) cvt;
 }
 /** Create an instance of the default ByteToCharConverter subclass. */
 public static ByteToCharConverter getDefault() {
   Object cvt;
   cvt = Converters.newDefaultConverter(Converters.BYTE_TO_CHAR);
   return (ByteToCharConverter) cvt;
 }