code: private void init(ResourceLoader resourceLoader) throws IOException {
      if (config == null && configs == null) {
        if (typeArgument == null && configArgument == null) {
          throw new IOException("no configuration");
        } else {
          if (typeArgument != null) {
            config = new MtasConfiguration();
            config.attributes.put(MtasConfiguration.CHARFILTER_CONFIGURATION_TYPE,
                typeArgument);
            config.attributes.put(
                MtasConfiguration.CHARFILTER_CONFIGURATION_PREFIX,
                prefixArgument);
            config.attributes.put(
                MtasConfiguration.CHARFILTER_CONFIGURATION_POSTFIX,
                postfixArgument);
          }
          if (configArgument != null) {
            if (resourceLoader != null) {
              try {
                configs = MtasConfiguration.readMtasCharFilterConfigurations(
                    resourceLoader, configArgument);
              } catch (IOException e) {
                throw new IOException(
                    "problem loading configurations from " + configArgument, e);
              }
            }
          }
        }
      }
    }
docs: Inits the.
  
  @param resourceLoader the resource loader
  @throws IOException Signals that an I/O exception has occurred.