Constructor and Description |
---|
JsoupUtil() |
Modifier and Type | Method and Description |
---|---|
static Iterable<Element> |
childrenByTag(Element element,
String tag) |
static Element |
firstChildByTag(Element element,
String tag) |
static Element |
firstElement(Element element,
String... tags) |
static Element |
firstOrAppendElement(Element element,
String... tags) |
static Document |
getDocument(String url) |
static Document |
getDocument(URL url) |
public JsoupUtil()
public static final Document getDocument(String url) throws MalformedURLException, IOException
MalformedURLException
IOException
public static final Document getDocument(URL url) throws IOException
IOException
public static final Element firstElement(Element element, String... tags)
public static final Element firstOrAppendElement(Element element, String... tags)
public static final Iterable<Element> childrenByTag(Element element, String tag)
public static final Element firstChildByTag(Element element, String tag)
Copyright © 2010–2019 Francesco Kriegel. All rights reserved.