# Package org.apache.commons.net.nntp

NNTP - network news transfer protocol

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Threadable<T extends Threadable<T>> | A placeholder interface for threadable message objects.

- Class Summary
  Class | Description
  --- | ---
  Article | Basic state needed for message retrieval and threading.
  ArticleInfo | Class contains details about an article.
  ArticleIterator | Class which wraps an `Iterable<String>` of raw article information to generate an `Iterable<Article>` of the parsed information.
  NewGroupsOrNewsQuery | The NewGroupsOrNewsQuery class.
  NewsgroupInfo | NewsgroupInfo stores information pertaining to a newsgroup returned by the NNTP GROUP, LIST, and NEWGROUPS commands, implemented by `selectNewsgroup` , `listNewsgroups` , and `listNewNewsgroups` respectively.
  NewsgroupIterator | Class which wraps an `Iterable<String>` of raw newgroup information to generate an `Iterable<NewsgroupInfo>` of the parsed information.
  NNTP | The NNTP class is not meant to be used by itself and is provided only so that you may easily implement your own NNTP client if you so desire.
  NNTPClient | NNTPClient encapsulates all the functionality necessary to post and retrieve articles from an NNTP server.
  NNTPCommand | NNTPCommand stores a set of constants for NNTP command codes.
  NNTPReply | NNTPReply stores a set of constants for NNTP reply codes.
  NntpThreadContainer | A placeholder utility class, used for constructing a tree of Threadables Original implementation by Jamie Zawinski.
  ReplyIterator | Wraps a `BufferedReader` and returns an `Iterable<String>` which returns the individual lines from the reader.
  SimpleNNTPHeader | This class is used to construct the bare minimum acceptable header for most newsreaders.
  Threader | This is an implementation of a message threading algorithm, as originally devised by Zamie Zawinski.

- Exception Summary
  Exception | Description
  --- | ---
  NNTPConnectionClosedException | NNTPConnectionClosedException is used to indicate the premature or unexpected closing of an NNTP connection resulting from a `NNTPReply.SERVICE_DISCONTINUED` response (NNTP reply code 400) to a failed NNTP command.

## Package org.apache.commons.net.nntp Description

NNTP - network news transfer protocol