public final class ToListResultsHandler extends Object implements ResultsHandler
ResultsHandler
which stores all connector objects into
a list retrievable with getObjects()
.Constructor and Description |
---|
ToListResultsHandler() |
Modifier and Type | Method and Description |
---|---|
List<ConnectorObject> |
getObjects() |
boolean |
handle(ConnectorObject object)
Call-back method to do whatever it is the caller wants to do with
each
ConnectorObject that is returned in the result of
SearchApiOp . |
public boolean handle(ConnectorObject object)
ResultsHandler
ConnectorObject
that is returned in the result of
SearchApiOp
.handle
in interface ResultsHandler
object
- each object return from the search.public List<ConnectorObject> getObjects()
Copyright © 2013. All Rights Reserved.