org.apache.nutch.ontology
Class OntologyFactory
java.lang.Object
org.apache.nutch.ontology.OntologyFactory
- public class OntologyFactory
- extends Object
A factory for retrieving Ontology
extensions.
- Version:
- $Id: OntologyFactory.java,v 1.2 2005/02/07 19:09:58 cutting Exp $
- Author:
- Michael Pan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final Logger LOG
getOntology
public static Ontology getOntology()
throws PluginRuntimeException
- Returns:
- Returns the online ontology extension specified
in nutch configuration's key
extension.ontology.extension-name
.
If the name is empty (no preference),
the first available ontology extension is returned.
- Throws:
PluginRuntimeException
Copyright © 2006 The Apache Software Foundation