org.apache.commons.net.nntp

Class Threader

public class Threader extends Object

This is an implementation of a message threading algorithm, as originally devised by Zamie Zawinski. See http://www.jwz.org/doc/threading.html for details. For his Java implementation, see http://lxr.mozilla.org/mozilla/source/grendel/sources/grendel/view/Threader.java

Author: rwinston

Method Summary
Threadablethread(Threadable[] messages)
The main threader entry point - The client passes in an array of Threadable objects, and the Threader constructs a connected 'graph' of messages

Method Detail

thread

public Threadable thread(Threadable[] messages)
The main threader entry point - The client passes in an array of Threadable objects, and the Threader constructs a connected 'graph' of messages

Parameters: messages

Returns: