|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.l3s.boilerpipe.sax.BoilerpipeSAXInput
public final class BoilerpipeSAXInput
Parses an InputSource
using SAX and returns a TextDocument
.
Constructor Summary | |
---|---|
BoilerpipeSAXInput(org.xml.sax.InputSource is)
Creates a new instance of BoilerpipeSAXInput for the given InputSource . |
Method Summary | |
---|---|
TextDocument |
getTextDocument()
Retrieves the TextDocument using a default HTML parser. |
TextDocument |
getTextDocument(BoilerpipeHTMLParser parser)
Retrieves the TextDocument using the given HTML parser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoilerpipeSAXInput(org.xml.sax.InputSource is) throws org.xml.sax.SAXException
BoilerpipeSAXInput
for the given InputSource
.
is
-
org.xml.sax.SAXException
Method Detail |
---|
public TextDocument getTextDocument() throws BoilerpipeProcessingException
TextDocument
using a default HTML parser.
getTextDocument
in interface BoilerpipeInput
TextDocument
.
BoilerpipeProcessingException
public TextDocument getTextDocument(BoilerpipeHTMLParser parser) throws BoilerpipeProcessingException
TextDocument
using the given HTML parser.
parser
- The parser used to transform the input into boilerpipe's internal representation.
TextDocument
BoilerpipeProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |