public class HandleDispatcher extends Object implements BitstreamDispatcher
| Modifier and Type | Field and Description |
|---|---|
protected BitstreamService |
bitstreamService |
protected Context |
context |
protected IteratorDispatcher |
delegate
the delegate to dispatch to.
|
protected String |
handle
Handle to retrieve bitstreams from.
|
protected HandleService |
handleService |
protected boolean |
init
Has the type of object the handle refers to been determined.
|
SENTINEL| Constructor and Description |
|---|
HandleDispatcher(Context context,
String hdl)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Private initialization routine.
|
Bitstream |
next()
Initializes this dispatcher on first execution.
|
protected Context context
protected String handle
protected boolean init
protected IteratorDispatcher delegate
protected BitstreamService bitstreamService
protected HandleService handleService
protected void init()
throws SQLException
SQLException - if database error
if database access fails.public Bitstream next() throws SQLException
next in interface BitstreamDispatcherSQLException - if database errorBitstreamDispatcher.next()Copyright © 2017 DuraSpace. All rights reserved.