org.apache.nutch.ontology
Class OntologyFactory

java.lang.Object
  extended byorg.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

Field Summary
static Logger LOG
           
 
Method Summary
static Ontology getOntology()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final Logger LOG
Method Detail

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