Java org.apache.commons.net.nntp SimpleNNTPHeader fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.nntp SimpleNNTPHeader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.nntp SimpleNNTPHeader.

The text is from its open source code.

Constructor

SimpleNNTPHeader(String from, String subject)
Creates a new SimpleNNTPHeader instance initialized with the given from and subject header field values.

Method

voidaddHeaderField(String headerField, String value)
Adds an arbitrary header field with the given value to the article header.
voidaddNewsgroup(String newsgroup)
Adds a newsgroup to the article Newsgroups: field.
StringtoString()
Converts the SimpleNNTPHeader to a properly formatted header in the form of a String, including the blank line used to separate the header from the article body.