code: @SuppressWarnings("WeakerAccess")
     public static SVG  getFromInputStream(InputStream is) throws SVGParseException
     {
        SVGParser  parser = new SVGParser();
        return parser.parse(is, enableInternalEntities);
     }
docs: Read and parse an SVG from the given {@code InputStream}.
  
  @param is the input stream from which to read the file.
  @return an SVG instance on which you can call one of the render methods.
  @throws SVGParseException if there is an error parsing the document.