You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.storage.HEADEnumeration

java.lang.Object
   |
   +----grendel.storage.HEADEnumeration

An enumeration object that sends and interprets successive HEAD commands to the NNTP server, and returns successive NewsMessage objects.


class  HEADEnumeration
     extends java.lang.Object
     implements java.util.Enumeration
{
          // Fields 7
     private static final boolean DEBUG;
     private int debug_count;
     private NewsFolder folder;
     private long from;
     private NewsMessage next_value;
     private NNTPConnection nntp;
     private long to;

          // Constructors 1
     HEADEnumeration(NewsFolder, NNTPConnection, long, long);

          // Methods 3
     public boolean hasMoreElements();
     public Object nextElement();
     private NewsMessage read_one();
}



Fields


DEBUG

   private static final boolean DEBUG


debug_count

   private int debug_count


folder

   private NewsFolder folder


nntp

   private NNTPConnection nntp


from

   private long from


to

   private long to


next_value

   private NewsMessage next_value



Constructors


HEADEnumeration

   HEADEnumeration(NewsFolder folder, 
                   NNTPConnection nntp, 
                   long from, 
                   long to) 



Methods


read_one

   private NewsMessage read_one() 


nextElement

   public Object nextElement() 
Implements:
nextElement in interface Enumeration


hasMoreElements

   public boolean hasMoreElements() 
Implements:
hasMoreElements in interface Enumeration


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4