|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexamples.nntp.NNTPUtils
public class NNTPUtils
Some convenience methods for NNTP example classes.
Constructor Summary | |
---|---|
NNTPUtils()
|
Method Summary | |
---|---|
static Article[] |
getArticleInfo(NNTPClient client,
int lowArticleNumber,
int 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NNTPUtils()
Method Detail |
---|
public static Article[] getArticleInfo(NNTPClient client, int lowArticleNumber, int 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 String
reader
- The Reader instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |