|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.history.InteractiveHistoryReaderImpl
public class InteractiveHistoryReaderImpl
The InteractiveHistoryReaderImpl is an implementation of the InteractiveHistoryReader interface. It allows to search in the history in an interactive way, i.e. be able to cancel the search at any time and track the results through a HistoryQueryListener.
| Constructor Summary | |
|---|---|
InteractiveHistoryReaderImpl(HistoryImpl history)
Creates an instance of InteractiveHistoryReaderImpl by specifying the corresponding history implementation. |
|
| Method Summary | |
|---|---|
HistoryQuery |
findByKeyword(String keyword,
String field,
int recordCount)
Searches the history for all records containing the keyword. |
HistoryQuery |
findByKeywords(String[] keywords,
String field,
int recordCount)
Searches the history for all records containing all keywords. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InteractiveHistoryReaderImpl(HistoryImpl history)
history - the corresponding HistoryImpl to read from| Method Detail |
|---|
public HistoryQuery findByKeyword(String keyword,
String field,
int recordCount)
findByKeyword in interface InteractiveHistoryReaderkeyword - the keyword to search forfield - the field where to look for the keywordrecordCount - limits the result to this record count
RuntimeException - Thrown if an exception occurs during the execution of the
query, such as internal IO error.
public HistoryQuery findByKeywords(String[] keywords,
String field,
int recordCount)
findByKeywords in interface InteractiveHistoryReaderkeywords - array of keywords we search forfield - the field where to look for the keywordrecordCount - limits the result to this record count
RuntimeException - Thrown if an exception occurs during the execution of the
query, such as internal IO error.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||