Package de.l3s.boilerpipe.sax
Class HTMLDocument
- java.lang.Object
-
- de.l3s.boilerpipe.sax.HTMLDocument
-
- All Implemented Interfaces:
InputSourceable
public class HTMLDocument extends java.lang.Object implements InputSourceable
AnInputSourceableforHTMLFetcher.
-
-
Constructor Summary
Constructors Constructor Description HTMLDocument(byte[] data, java.nio.charset.Charset charset)HTMLDocument(java.lang.String data)
-
Method Summary
Modifier and Type Method Description java.nio.charset.CharsetgetCharset()byte[]getData()org.xml.sax.InputSourcetoInputSource()
-
-
-
Method Detail
-
getCharset
public java.nio.charset.Charset getCharset()
-
getData
public byte[] getData()
-
toInputSource
public org.xml.sax.InputSource toInputSource()
- Specified by:
toInputSourcein interfaceInputSourceable
-
-