|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ecyrd.jspwiki.SearchMatcher
SearchMatcher performs the task of matching a search query to a page's contents. This utility class is isolated to simplify WikiPageProvider implementations and to offer an easy target for upgrades. The upcoming(?) TranslatorReader rewrite will presumably invalidate this, among other things.
| Nested Class Summary | |
class |
SearchMatcher.SearchResultImpl
|
| Constructor Summary | |
SearchMatcher(QueryItem[] queries)
|
|
| Method Summary | |
SearchResult |
matchPageContent(java.lang.String wikiname,
java.lang.String pageText)
Compares the page content, available through the given stream, to the query items of this matcher. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SearchMatcher(QueryItem[] queries)
| Method Detail |
public SearchResult matchPageContent(java.lang.String wikiname,
java.lang.String pageText)
throws java.io.IOException
This method would benefit of regexps (1.4) and streaming. FIXME!
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||