public class HTMLDocument extends java.lang.Object implements InputSourceable
InputSourceable
for HTMLFetcher
.Constructor and Description |
---|
HTMLDocument(byte[] data,
java.nio.charset.Charset charset) |
HTMLDocument(java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
java.nio.charset.Charset |
getCharset() |
byte[] |
getData() |
org.xml.sax.InputSource |
toInputSource() |
public HTMLDocument(byte[] data, java.nio.charset.Charset charset)
public HTMLDocument(java.lang.String data)
public java.nio.charset.Charset getCharset()
public byte[] getData()
public org.xml.sax.InputSource toInputSource()
toInputSource
in interface InputSourceable