public class TextCallback extends Object implements Callback<List<Document>>
text
command's result
document to a TextResult
.Constructor and Description |
---|
TextCallback(Callback<List<TextResult>> delegate)
Creates a new TextCallback.
|
public TextCallback(Callback<List<TextResult>> delegate)
delegate
- The delegate callback to receive the TextResult
s.public void callback(List<Document> result)
Overridden to convert each document into a TextResult
and forward
to the delegate.
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.