public abstract class AbstractNIFDocumentParser extends Object implements NIFDocumentParser
NIFParser instance offering the
methods of the NIFDocumentParser interface and might be removed in
future releases.| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private NIFParser |
parser |
| Constructor and Description |
|---|
AbstractNIFDocumentParser(NIFParser parser) |
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocumentFromNIFReader(Reader reader) |
Document |
getDocumentFromNIFStream(InputStream stream) |
Document |
getDocumentFromNIFString(String nifString) |
String |
getHttpContentType() |
private static final org.slf4j.Logger LOGGER
private NIFParser parser
public AbstractNIFDocumentParser(NIFParser parser)
public Document getDocumentFromNIFString(String nifString) throws Exception
getDocumentFromNIFString in interface NIFDocumentParserExceptionpublic Document getDocumentFromNIFReader(Reader reader) throws Exception
getDocumentFromNIFReader in interface NIFDocumentParserExceptionpublic Document getDocumentFromNIFStream(InputStream stream) throws Exception
getDocumentFromNIFStream in interface NIFDocumentParserExceptionpublic String getHttpContentType()
getHttpContentType in interface NIFDocumentParserCopyright © 2018. All rights reserved.