private static void addCharacterSet(int valueRenamed, System.String encodingName) { CharacterSetECI eci = new CharacterSetECI(valueRenamed, encodingName); VALUE_TO_ECI[(System.Int32)valueRenamed] = eci; // can't use valueOf NAME_TO_ECI[encodingName] = eci; }
private static void addCharacterSet(int valueRenamed, System.String[] encodingNames) { CharacterSetECI eci = new CharacterSetECI(valueRenamed, encodingNames[0]); VALUE_TO_ECI[(System.Int32) valueRenamed] = eci; // can't use valueOf for (int i = 0; i < encodingNames.Length; i++) { NAME_TO_ECI[encodingNames[i]] = eci; } }
private static void addCharacterSet(int valueRenamed, System.String[] encodingNames) { CharacterSetECI eci = new CharacterSetECI(valueRenamed, encodingNames[0]); VALUE_TO_ECI[(System.Int32)valueRenamed] = eci; // can't use valueOf for (int i = 0; i < encodingNames.Length; i++) { NAME_TO_ECI[encodingNames[i]] = eci; } }
private static void addCharacterSet(int valueRenamed, System.String encodingName) { CharacterSetECI eci = new CharacterSetECI(valueRenamed, encodingName); VALUE_TO_ECI[(System.Int32) valueRenamed] = eci; // can't use valueOf NAME_TO_ECI[encodingName] = eci; }