public class HTML2XML extends Object
| Constructor and Description |
|---|
HTML2XML() |
| Modifier and Type | Method and Description |
|---|---|
static void |
convert(Reader reader,
OutputStream out,
String encoding) |
static String |
convert(String html) |
static Document |
parseHtmlAsXml(String url,
boolean namespaceAware) |
static Document |
parseHtmlTextAsXml(String html,
boolean namespaceAware) |
public static String convert(String html) throws ParseException
ParseExceptionpublic static void convert(Reader reader, OutputStream out, String encoding) throws ParseException, UnsupportedEncodingException
public static Document parseHtmlAsXml(String url, boolean namespaceAware) throws IOException, ParseException, UnsupportedEncodingException
public static Document parseHtmlTextAsXml(String html, boolean namespaceAware) throws ParseException, IOException, UnsupportedEncodingException
Copyright © 2006–2016 Volker Bergmann. All rights reserved.