|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectezvcard.util.HtmlUtils
public class HtmlUtils
Generic HTML utility methods.
| Method Summary | |
|---|---|
static boolean |
isChildOf(Element child,
Elements possibleParents)
Determines whether the given element is a child of one of the given parent elements. |
static Element |
toElement(String html)
Converts an HTML string to an HTML element. |
static Element |
toElement(String html,
String baseUrl)
Converts an HTML string to an HTML element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isChildOf(Element child,
Elements possibleParents)
child - the child elementpossibleParents - the possible parents
public static Element toElement(String html)
html - the HTML
public static Element toElement(String html,
String baseUrl)
html - the HTMLbaseUrl - the base URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||