code: private void init(ResourceLoader resourceLoader) throws IOException {
      if (config == null && configs == null) {
        if (resourceLoader == null) {
          return;
        } else if (configFileArgument == null && configArgument == null && analyzerArgument==null) {
          throw new IOException("no configuration");
        } else {
          if (configFileArgument != null) {
            try {
              config = MtasConfiguration.readConfiguration(
                  resourceLoader.openResource(configFileArgument));
            } catch (IOException e) {
              throw new IOException(
                  "Problem loading configuration from " + configFileArgument, e);
            }
          }
          if (configArgument != null) {
            try {
              configs = MtasConfiguration.readMtasTokenizerConfigurations(
                  resourceLoader, configArgument);
            } catch (IOException e) {
              throw new IOException(
                  "Problem loading configurations from " + configArgument, e);
            }
          }
          if (analyzerArgument != null) {
            configs = null;
            config = new MtasConfiguration();
            MtasConfiguration subConfig = new MtasConfiguration();
            subConfig.name = "parser";
            subConfig.attributes.put("name", analyzerArgument);
            subConfig.attributes.put(ARGUMENT_PARSER_ARGS, analyzerArgumentParserArgs);
            config.children.add(subConfig);
          }
        }
      }
    }
docs: Inits the.
  
  @param resourceLoader the resource loader
  @throws IOException Signals that an I/O exception has occurred.