public void inform(ResourceLoader loader) throws IOException {clazz = registry.get(name.toUpperCase(Locale.ROOT));if( clazz == null ) {clazz = resolveEncoder(name, loader);}if (maxCodeLength != null) {try {setMaxCodeLenMethod = clazz.getMethod("setMaxCodeLen", int.class);} catch (Exception e) {throw new IllegalArgumentException("Encoder " + name + " / " + clazz + " does not support " + MAX_CODE_LENGTH, e);}}getEncoder();}
public virtual void Inform(IResourceLoader loader){registry.TryGetValue(name.ToUpperInvariant(), out clazz);if (clazz == null){clazz = ResolveEncoder(name, loader);}if (maxCodeLength != null){try{setMaxCodeLenMethod = clazz.GetMethod("set_MaxCodeLen");}catch (Exception e){throw new ArgumentException("Encoder " + name + " / " + clazz + " does not support " + MAX_CODE_LENGTH, e);}}GetEncoder();}