|
|||||||||||
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(OutputStream wrt)
Writes the whole article to a writer. |
void |
writeBody(OutputStream wrt)
Writes the article body to a writer. |
void |
writeHead(OutputStream wrt)
Writes the article headers to a writer. |
void |
writeOverview(OutputStream wrt)
Writes the article overview to a writer. |
Method Detail |
public NNTPGroup getGroup()
public int getArticleNumber()
public String getUniqueID()
public void writeArticle(OutputStream wrt)
wrt
- the OutputStream to which the article is written.public void writeHead(OutputStream wrt)
wrt
- the OutputStream to which the article is written.public void writeBody(OutputStream wrt)
wrt
- the OutputStream to which the article is written.public void writeOverview(OutputStream wrt)
wrt
- the OutputStream 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 |