org.dspace.checker
Class HandleDispatcher

java.lang.Object
  extended by org.dspace.checker.HandleDispatcher
All Implemented Interfaces:
BitstreamDispatcher

public class HandleDispatcher
extends Object
implements BitstreamDispatcher

A BitstreamDispatcher that checks all the bitstreams contained within an item, collection or community referred to by Handle.

Author:
Jim Downing, Grace Carpenter, Nathan Sarr

Field Summary
 
Fields inherited from interface org.dspace.checker.BitstreamDispatcher
SENTINEL
 
Constructor Summary
HandleDispatcher(BitstreamInfoDAO bitInfoDAO, String hdl)
          Main constructor.
 
Method Summary
 int next()
          Initializes this dispatcher on first execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleDispatcher

public HandleDispatcher(BitstreamInfoDAO bitInfoDAO,
                        String hdl)
Main constructor.

Parameters:
hdl - the handle to get bitstreams from.
Method Detail

next

public int next()
Initializes this dispatcher on first execution.

Specified by:
next in interface BitstreamDispatcher
Returns:
the next bitstream id, or BitstreamDispatcher.SENTINEL if there isn't another value
See Also:
BitstreamDispatcher.next()


Copyright © 2010 DuraSpace. All Rights Reserved.