|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Contract exposed by a NewsGroup Article
Method Summary | |
int |
getArticleNumber()
Gets the article number for this article. |
NNTPGroup |
getGroup()
Gets the group containing this article. |
String |
getHeader(String headerName)
Gets the header with the specified headerName. |
String |
getUniqueID()
Gets the unique message id for this article. |
void |
writeArticle(PrintWriter wrt)
Writes the whole article to a writer. |
void |
writeBody(PrintWriter wrt)
Writes the article body to a writer. |
void |
writeHead(PrintWriter wrt)
Writes the article headers to a writer. |
void |
writeOverview(PrintWriter wrt)
Writes the article overview to a writer. |
Method Detail |
public NNTPGroup getGroup()
public int getArticleNumber()
public String getUniqueID()
public void writeArticle(PrintWriter wrt)
wrt
- the PrintWriter to which the article is written.public void writeHead(PrintWriter wrt)
wrt
- the PrintWriter to which the article is written.public void writeBody(PrintWriter wrt)
wrt
- the PrintWriter to which the article is written.public void writeOverview(PrintWriter wrt)
wrt
- the PrintWriter to which the article is written.public String getHeader(String headerName)
headerName
- the name of the header being retrieved.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |