public class NntpArticleBody
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
NntpArticleBody(java.io.BufferedReader reader)
Creates new
NntpArticleBody instance from
BufferedReader. |
NntpArticleBody(java.lang.String body)
Creates new NntpArticleBody instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBody()
Gets contents of this
NntpArticleBody. |
public NntpArticleBody(java.lang.String body)
body - the article bodypublic NntpArticleBody(java.io.BufferedReader reader)
throws NntpException
NntpArticleBody instance from
BufferedReader.reader - the BufferedReader containing body of articleNntpException - thrown if I/O related error occursNntpExceptionCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved