public class OwlReasonerReader
extends java.lang.Object
Constructor and Description |
---|
OwlReasonerReader() |
Modifier and Type | Method and Description |
---|---|
void |
addAccessorReasoners(RecordAccessor access)
Apply the reasoners read by this reader to the specified accessor
|
RecordReasoner |
getReasoner(java.lang.String name)
Return the reasoner matching the named template
|
void |
setConfig(java.io.InputStream inStream)
Set the configuration information from an input stream.
|
void |
setConfigFile(java.lang.String configFile)
Set the configuration from a local file.
|
public void addAccessorReasoners(RecordAccessor access)
access
- the SemanticAccessorpublic RecordReasoner getReasoner(java.lang.String name)
name
- the name of the templatepublic void setConfig(java.io.InputStream inStream)
inStream
- Input stream which is the source of the configuration
informationpublic void setConfigFile(java.lang.String configFile) throws java.io.FileNotFoundException
setConfig()
configFile
- The path to the configuration filejava.io.FileNotFoundException
- if the file is not found