code: public static Configuration load(String file)
      throws IOException, SAXException {
      ConfigurationImpl cfg = new ConfigurationImpl();
  
      XMLReader parser = XMLReaderFactory.createXMLReader();
      parser.setContentHandler(new ConfigHandler(cfg, file));
      if (file.startsWith("classpath:")) {
        String resource = file.substring("classpath:".length());
        ClassLoader cloader = Thread.currentThread().getContextClassLoader();
        InputStream istream = cloader.getResourceAsStream(resource);
        parser.parse(new InputSource(istream));
      } else
        parser.parse(file);
  
      return cfg;
    }
docs: Note that if file starts with 'classpath:' the resource is looked
  up on the classpath instead.