org.apache.commons.net.nntp
Class Threader

java.lang.Object
  extended by org.apache.commons.net.nntp.Threader

public class Threader
extends java.lang.Object


Constructor Summary
Threader()
           
 
Method Summary
 Threadable thread(java.util.List<? extends Threadable> messages)
          The main threader entry point - The client passes in a list of Threadable objects, and the Threader constructs a connected 'graph' of messages
 Threadable thread(Threadable[] messages)
          Deprecated. (2.2) prefer thread(List)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Threader

public Threader()
Method Detail

thread

@Deprecated
public Threadable thread(Threadable[] messages)
Deprecated. (2.2) prefer thread(List)

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 - array of messages to thread
Returns:
null if messages == null or root.child == null

thread

public Threadable thread(java.util.List<? extends Threadable> messages)
The main threader entry point - The client passes in a list of Threadable objects, and the Threader constructs a connected 'graph' of messages

Parameters:
messages - list of messages to thread
Returns:
null if messages == null or root.child == null
Since:
2.2


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.