| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NNTPArticle
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.  | 
 java.lang.String | 
getHeader(java.lang.String headerName)
Gets the header with the specified headerName.  | 
 java.lang.String | 
getUniqueID()
Gets the unique message id for this article.  | 
 void | 
writeArticle(java.io.OutputStream wrt)
Writes the whole article to a writer.  | 
 void | 
writeBody(java.io.OutputStream wrt)
Writes the article body to a writer.  | 
 void | 
writeHead(java.io.OutputStream wrt)
Writes the article headers to a writer.  | 
 void | 
writeOverview(java.io.OutputStream wrt)
Writes the article overview to a writer.  | 
| Method Detail | 
|---|
NNTPGroup getGroup()
int getArticleNumber()
java.lang.String getUniqueID()
void writeArticle(java.io.OutputStream wrt)
wrt - the OutputStream to which the article is written.void writeHead(java.io.OutputStream wrt)
wrt - the OutputStream to which the article is written.void writeBody(java.io.OutputStream wrt)
wrt - the OutputStream to which the article is written.void writeOverview(java.io.OutputStream wrt)
wrt - the OutputStream to which the article is written.java.lang.String getHeader(java.lang.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 | |||||||||