code: public static SObject loadResource(String url) {
          InputStream is = SObject.class.getResourceAsStream(url);
          if (null == is) {
              return null;
          }
          String filename = S.afterLast(url, "/");
          if (S.blank(filename)) {
              filename = url;
          }
          return of(randomKey(), is, ATTR_FILE_NAME, filename);
      }
docs: Load an sobject from classpath by given url path
  
  This method will call {@link Class#getResource(String)} method to open
  an inputstream to the resource and then construct an SObject with the
  inputstream
  
  @param url the resource url path
  @return the sobject instance if loaded successfully or `null` if cannot load resource from the url