ConfigLoader.load(new FileInputStream(file)); } catch (IOException e) { throw new FactoryException(e); }
ConfigLoader.load(getClass().getResourceAsStream(configFile));
  protected void loadConfig(URL url) throws FactoryException {      if (url == null) {          try {            File file = new File(configFile);              ConfigLoader.load(new FileInputStream(file));          } catch (IOException e) {              throw new FactoryException(e);          }      }  }