Package examples.nntp
Class NNTPUtils
- java.lang.Object
-
- examples.nntp.NNTPUtils
-
public class NNTPUtils extends java.lang.ObjectSome convenience methods for NNTP example classes.
-
-
Constructor Summary
Constructors Constructor Description NNTPUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<Article>getArticleInfo(NNTPClient client, long lowArticleNumber, long highArticleNumber)Given anNNTPClientinstance, and an integer range of messages, return an array ofArticleinstances.
-
-
-
Method Detail
-
getArticleInfo
public static java.util.List<Article> getArticleInfo(NNTPClient client, long lowArticleNumber, long highArticleNumber) throws java.io.IOException
Given anNNTPClientinstance, and an integer range of messages, return an array ofArticleinstances.- Parameters:
client- the client to uselowArticleNumber- low numberhighArticleNumber- high number- Returns:
- Article[] An array of Article
- Throws:
java.io.IOException- on error
-
-