getCharacterSetECI static method

CharacterSetECI? getCharacterSetECI(
  1. Encoding charset
)

@param charset Java character set object @return CharacterSetECI representing ECI for character encoding, or null if it is legal but unsupported

Implementation

static CharacterSetECI? getCharacterSetECI(Encoding charset) {
  if (_nameToEci.isEmpty) {
    init();
  }
  return _nameToEci[charset.name];
}