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

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

Introduction

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

The text is from its open source code.

Constructor

NewGroupsOrNewsQuery(Calendar date, boolean gmt)
Creates a new query using the given time as a reference point.

Method

voidaddDistribution(String distribution)
Add a distribution group to the query.
StringgetDate()
Return the NNTP query formatted date (year, month, day in the form YYMMDD.
StringgetDistributions()
Return the comma separated list of distributions.
StringgetNewsgroups()
Return the comma separated list of newsgroups.
StringgetTime()
Return the NNTP query formatted time (hour, minutes, seconds in the form HHMMSS.
booleanisGMT()
Return whether or not the query date should be treated as GMT.