com.croftsoft.core.net.news
Class UsenetLib

java.lang.Object
  extended by com.croftsoft.core.net.news.UsenetLib

public final class UsenetLib
extends Object

USENET (RFC 1036) message manipulation.

Since:
2001-07-27
Version:
2001-08-18
See Also:
RFC 1036: Standard for Interchange of USENET Messages
Author:
David Wallace Croft

Field Summary
static String PLAIN_TEXT_ONLY_CHARTER_POSTFIX
           
 
Method Summary
static UsenetMessage createNewGroupMessage(String email, String newsgroup, String shortDescription, String charter, String justification, String proponent, boolean isBooster)
          Creates a control message to create a new newsgroup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLAIN_TEXT_ONLY_CHARTER_POSTFIX

public static final String PLAIN_TEXT_ONLY_CHARTER_POSTFIX
See Also:
Constant Field Values
Method Detail

createNewGroupMessage

public static UsenetMessage createNewGroupMessage(String email,
                                                  String newsgroup,
                                                  String shortDescription,
                                                  String charter,
                                                  String justification,
                                                  String proponent,
                                                  boolean isBooster)
Creates a control message to create a new newsgroup.

Parameters:
email - Your e-mail address.
newsgroup - See the FAQ for newsgroup naming conventions.
shortDescription - This plus the newsgroup name should be less than 80 characters.
charter - May be null.
justification - May be null.
proponent - May be null.
isBooster - True if this is not the first posting of this message.
Throws:
IllegalArgumentException - If the shortDescription is too long.
See Also:
"alt.config FAQ", "Myths from the new config FAQ"

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)