Code example for InputSource

Methods: setPublicIdsetSystemId

0
     */ 
    public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
    { 
        log.debug("resolveEntity(publicId=" + publicId + ", systemId=" + systemId + ") returning null");
 
        InputSource is = new InputSource(new StringReader(""));
        is.setPublicId(publicId);
        is.setSystemId(systemId);
 
        return is;
    } 
 
    /** 
     * The log stream 
     */ 
    private static final Log log = LogFactory.getLog(EmptyEntityResolver.class);
} 
Experience pair programming with AI  Get Codota for Java