| java.lang.Object examples.nntp.NNTPUtils
NNTPUtils | public class NNTPUtils (Code) | | Some convenience methods for NNTP example classes.
author: Rory Winston |
getArticleInfo | public static Article[] getArticleInfo(NNTPClient client, int lowArticleNumber, int highArticleNumber) throws IOException(Code) | | Given an
NNTPClient instance, and an integer range of messages, return
an array of
Article instances.
Parameters: client - Parameters: lowArticleNumber - Parameters: highArticleNumber - Article[] An array of Article throws: IOException - |
readerToString | public static String readerToString(Reader reader)(Code) | | Convert a
Reader instance to a String
Parameters: reader - The Reader instance String |
|
|