org.apache.nutch.clustering
Class OnlineClustererFactory

java.lang.Object
  extended by org.apache.nutch.clustering.OnlineClustererFactory

public class OnlineClustererFactory
extends Object

A factory for retrieving OnlineClusterer extensions.

Version:
$Id: OnlineClustererFactory.java 823614 2009-10-09 17:02:32Z ab $
Author:
Dawid Weiss

Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
OnlineClustererFactory(Configuration conf)
          Create an instance of the clustering factory bound to a given configuration.
 
Method Summary
 OnlineClusterer getOnlineClusterer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

OnlineClustererFactory

public OnlineClustererFactory(Configuration conf)
Create an instance of the clustering factory bound to a given configuration.

Method Detail

getOnlineClusterer

public OnlineClusterer getOnlineClusterer()
                                   throws PluginRuntimeException
Returns:
Returns the online clustering extension specified in nutch configuration (key name is extension.clustering.extension-name). If the name is empty (no preference), the first available clustering extension is returned.
Throws:
PluginRuntimeException


Copyright © 2006 The Apache Software Foundation