Getting the body from an article

Top  Previous  Next

You may get the body of an article using the NntpArticle#getBody method.  This will return a String of the body contents.

 

Example

 

// get article by id

NntpArticle article = nntp.getArticle(12987);

                 

// get body

System.out.println(article.getBody());





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC