RTEditor/src/main/java/com/onegravity/rteditor/converter/tagsoup/Parser.java
private InputStream getInputStream(String publicid, String systemid) throws IOException, SAXException {
        URL basis = new URL("file", "", System.getProperty("user.dir") + "/.");
        URL url = new URL(basis, systemid);
        URLConnection c = url.openConnection();
        return c.getInputStream();
    }
private InputStream getInputStream(String publicid, String systemid) throws IOException, SAXException {
        URL basis = new URL("file", "", System.getProperty("user.dir") + "/.");
        URL url = new URL(basis, systemid);
        URLConnection c = url.openConnection();
        return c.getInputStream();
    }
private InputStream getInputStream ( String publicid , String systemid ) throws IOException , SAXException { URL basis = new URL ( "file" , "" , System . getProperty ( "user.dir" ) + "/." ) ; URL url = new URL ( basis , systemid ) ; URLConnection c = url . openConnection ( ) ; return c . getInputStream ( ) ; }
Get an InputStream based on a publicid and a systemid
Get an InputStream based on a publicid and a systemid