private SingleByteCharsetConverter(String encodingName) throws UnsupportedEncodingException {
  String allBytesString=new String(allBytes,0,BYTE_RANGE,encodingName);
  int allBytesLen=allBytesString.length();
  System.arraycopy(unknownCharsMap,0,this.charToByteMap,0,this.charToByteMap.length);
  for (int i=0; i < BYTE_RANGE && i < allBytesLen; i++) {
    char c=allBytesString.charAt(i);
    this.byteToChars[i]=c;
    this.charToByteMap[c]=allBytes[i];
  }
}

private SingleByteCharsetConverter ( String encodingName ) throws UnsupportedEncodingException { String allBytesString = new String ( allBytes , 0 , BYTE_RANGE , encodingName ) ; int allBytesLen = allBytesString . length ( ) ; System . arraycopy ( unknownCharsMap , 0 , this . charToByteMap , 0 , this . charToByteMap . length ) ; for ( int i = 0 ; i < BYTE_RANGE && i < allBytesLen ; i ++ ) { char c = allBytesString . charAt ( i ) ; this . byteToChars [ i ] = c ; this . charToByteMap [ c ] = allBytes [ i ] ; } }
prevent instantiation , called out of static method initcharset ( ) .
