Пример #1
0
 private static void addCharacterSet(int value_Renamed, System.String encodingName)
 {
     CharacterSetECI eci = new CharacterSetECI(value_Renamed, encodingName);
     VALUE_TO_ECI[(System.Int32) value_Renamed] = eci; // can't use valueOf
     NAME_TO_ECI[encodingName] = eci;
 }
Пример #2
0
 private static void addCharacterSet(int value_Renamed, System.String[] encodingNames)
 {
     CharacterSetECI eci = new CharacterSetECI(value_Renamed, encodingNames[0]);
     VALUE_TO_ECI[(System.Int32) value_Renamed] = eci; // can't use valueOf
     for (int i = 0; i < encodingNames.Length; i++)
     {
         NAME_TO_ECI[encodingNames[i]] = eci;
     }
 }