public class NNTPUtils
extends java.lang.Object
Constructor and Description |
---|
NNTPUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Article> |
getArticleInfo(NNTPClient client,
long lowArticleNumber,
long highArticleNumber)
Given an
NNTPClient instance, and an integer range of messages, return
an array of Article instances. |
static java.lang.String |
readerToString(java.io.Reader reader)
Convert a
Reader instance to a String |
public static java.util.List<Article> getArticleInfo(NNTPClient client, long lowArticleNumber, long highArticleNumber) throws java.io.IOException
NNTPClient
instance, and an integer range of messages, return
an array of Article
instances.client
- lowArticleNumber
- highArticleNumber
- java.io.IOException
public static java.lang.String readerToString(java.io.Reader reader)
Reader
instance to a Stringreader
- The Reader instance