コード例 #1
0
        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;
        }
コード例 #2
0
		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;
			}
		}
コード例 #3
0
        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;
            }
        }
コード例 #4
0
		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;
		}