Package org.aksw.gerbil.transfer.nif
Class AbstractNIFDocumentParser
java.lang.Object
org.aksw.gerbil.transfer.nif.AbstractNIFDocumentParser
- All Implemented Interfaces:
NIFDocumentParser
- Direct Known Subclasses:
TurtleNIFDocumentParser
This class is a simple Wrapper of a
NIFParser instance offering the
methods of the NIFDocumentParser interface and might be removed in
future releases.- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDocumentFromNIFReader(Reader reader) getDocumentFromNIFStream(InputStream stream) getDocumentFromNIFString(String nifString)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
parser
-
-
Constructor Details
-
AbstractNIFDocumentParser
-
-
Method Details
-
getDocumentFromNIFString
- Specified by:
getDocumentFromNIFStringin interfaceNIFDocumentParser- Throws:
Exception
-
getDocumentFromNIFReader
- Specified by:
getDocumentFromNIFReaderin interfaceNIFDocumentParser- Throws:
Exception
-
getDocumentFromNIFStream
- Specified by:
getDocumentFromNIFStreamin interfaceNIFDocumentParser- Throws:
Exception
-
getHttpContentType
- Specified by:
getHttpContentTypein interfaceNIFDocumentParser
-