Example usage for Java org.apache.commons.net.nntp SimpleNNTPHeader fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleNNTPHeader(String from, String subject) Creates a new SimpleNNTPHeader instance initialized with the given from and subject header field values. |
void | addHeaderField(String headerField, String value) Adds an arbitrary header field with the given value to the article header. |
void | addNewsgroup(String newsgroup) Adds a newsgroup to the article Newsgroups: field. |
String | toString() 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. |