net.sf.bloof.scm.cvsplugin
Class RevisionIterator

java.lang.Object
  |
  +--net.sf.bloof.scm.cvsplugin.RevisionIterator
All Implemented Interfaces:
ScmRevisionIterator

public class RevisionIterator
extends java.lang.Object
implements ScmRevisionIterator

SCM Iterator on all revision of the specified CVS module

Version:
$Id: RevisionIterator.java,v 1.14 2003/09/06 08:35:09 pekacki Exp $
Author:
Lukasz Pekacki

Constructor Summary
RevisionIterator(java.io.Reader aReader)
          Constructor RevisionIterator
 
Method Summary
protected  void addRevision(Revision aR)
           
 ScmRevision getNext()
          Iterates to the next revision an returnes it if not next revsion exists, return null
 boolean hasNext()
          Returns if further revisions exits.
protected  void parserHasFinished()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevisionIterator

public RevisionIterator(java.io.Reader aReader)
Constructor RevisionIterator

Parameters:
aReader - Reader on the CVS log file
Method Detail

addRevision

protected void addRevision(Revision aR)

getNext

public ScmRevision getNext()
                    throws java.util.NoSuchElementException
Description copied from interface: ScmRevisionIterator
Iterates to the next revision an returnes it if not next revsion exists, return null

Specified by:
getNext in interface ScmRevisionIterator
Returns:
ScmRevision fetch next revision, or null, if no further revision exisits
java.util.NoSuchElementException
See Also:
ScmRevisionIterator.getNext( )

hasNext

public boolean hasNext()
Description copied from interface: ScmRevisionIterator
Returns if further revisions exits.

Specified by:
hasNext in interface ScmRevisionIterator
Returns:
boolean true if another revison exists, false if not
See Also:
ScmRevisionIterator.hasNext( )

parserHasFinished

protected void parserHasFinished()


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.