com.waveset.adapter
Class NSKResourceAdapter.AcctIter

java.lang.Object
  extended bycom.waveset.adapter.NSKResourceAdapter.AcctIter
All Implemented Interfaces:
AccountIterator
Enclosing class:
NSKResourceAdapter

protected class NSKResourceAdapter.AcctIter
extends java.lang.Object
implements AccountIterator

AccountIterator implementation that can be built by construction from the output of "safecom info user". Builds users on the fly as the iterator progresses.


Field Summary
 
Fields inherited from interface com.waveset.adapter.AccountIterator
code_id
 
Constructor Summary
NSKResourceAdapter.AcctIter(CaptureList captureList)
          Convenience constructor that builds an account iterator from a string of space delimited user names.
 
Method Summary
 void close()
          Closes the iterator.
 boolean hasNext()
          Returns true if there are more users to go.
 WSUser next()
          Returns the next user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSKResourceAdapter.AcctIter

public NSKResourceAdapter.AcctIter(CaptureList captureList)
Convenience constructor that builds an account iterator from a string of space delimited user names.

Method Detail

hasNext

public final boolean hasNext()
Returns true if there are more users to go.

Specified by:
hasNext in interface AccountIterator

next

public final WSUser next()
                  throws WavesetException
Returns the next user.

Specified by:
next in interface AccountIterator
Returns:
the next account

Throws:
WavesetException

close

public void close()
Closes the iterator.

Specified by:
close in interface AccountIterator