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 NIFDocumentParser
Exception
public Document getDocumentFromNIFReader(Reader reader) throws Exception
getDocumentFromNIFReader
in interface NIFDocumentParser
Exception
public Document getDocumentFromNIFStream(InputStream stream) throws Exception
getDocumentFromNIFStream
in interface NIFDocumentParser
Exception
public String getHttpContentType()
getHttpContentType
in interface NIFDocumentParser
Copyright © 2016. All rights reserved.