org.mindswap.pellet
Class KRSSLoader
java.lang.Object
org.mindswap.pellet.KRSSLoader
public class KRSSLoader
- extends java.lang.Object
Parse files written in KRSS format and loads into the given KB.
- Author:
- Evren Sirin
Field Summary |
static boolean |
DEBUG
Deprecated. Edit log4j.properties to turn on debugging |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static boolean DEBUG
- Deprecated. Edit log4j.properties to turn on debugging
KRSSLoader
public KRSSLoader()
isForceUppercase
public boolean isForceUppercase()
setForceUppercase
public void setForceUppercase(boolean forceUppercase)
load
public void load(java.io.Reader reader,
KnowledgeBase kb)
throws java.io.IOException
- Throws:
java.io.IOException
load
public void load(java.io.InputStream stream,
KnowledgeBase kb)
throws java.io.IOException
- Throws:
java.io.IOException
load
public void load(java.lang.String file,
KnowledgeBase kb)
throws java.io.IOException
- Throws:
java.io.IOException
verifyTBox
public void verifyTBox(java.lang.String file,
KnowledgeBase kb)
throws java.lang.Exception
- Throws:
java.lang.Exception
verifyABox
public void verifyABox(java.lang.String file,
KnowledgeBase kb)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.