src/main/java/org/dom4j/io/XPPPacketReader.java
public Document read(URL url) throws DocumentException, IOException,
            XmlPullParserException {
        String systemID = url.toExternalForm();
        return read(createReader(url.openStream()), systemID);
    }
public Document read(URL url) throws DocumentException, IOException,
            XmlPullParserException {
        String systemID = url.toExternalForm();
        return read(createReader(url.openStream()), systemID);
    }
public Document read ( URL url ) throws DocumentException , IOException , XmlPullParserException { String systemID = url . toExternalForm ( ) ; return read ( createReader ( url . openStream ( ) ) , systemID ) ; }
<p>
Reads a Document from the given <code>URL</code>
</p>

@param url
<code>URL</code> to read from.
@return the newly created Document instance
@throws DocumentException
if an error occurs during parsing.
<p > Reads a Document from the given <code > URL< / code > < / p >