Package org.apache.commons.net.nntp
package org.apache.commons.net.nntp
NNTP - network news transfer protocol
-
ClassDescriptionThis is a class that contains the basic state needed for message retrieval and threading.Class contains details about an article.Class which wraps an
Iterable<String>
of raw article information to generate anIterable<Article>
of the parsed information.Deprecated.The NewGroupsOrNewsQuery class.NewsgroupInfo stores information pertaining to a newsgroup returned by the NNTP GROUP, LIST, and NEWGROUPS commands, implemented byselectNewsgroup
,listNewsgroups
, andlistNewNewsgroups
respectively.Class which wraps anIterable<String>
of raw newgroup information to generate anIterable<NewsgroupInfo>
of the parsed information.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 encapsulates all the functionality necessary to post and retrieve articles from an NNTP server.NNTPCommand stores a set of constants for NNTP command codes.NNTPConnectionClosedException is used to indicate the premature or unexpected closing of an NNTP connection resulting from aNNTPReply.SERVICE_DISCONTINUED
response (NNTP reply code 400) to a failed NNTP command.NNTPReply stores a set of constants for NNTP reply codes.Wraps aBufferedReader
and returns anIterable<String>
which returns the individual lines from the reader.This class is used to construct the bare minimum acceptable header for most news readers.A placeholder interface for threadable message objects Author: Rory Winston (rwinston@checkfree.com)A placeholder utility class, used for constructing a tree of Threadables Original implementation by Jamie Zawinski.
ArticleInfo
instead