public class FullTextSearchHelper
extends java.lang.Object
| Constructor and Description |
|---|
FullTextSearchHelper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTextContext(java.io.File file,
java.lang.String term)
Return the search context for a term.
|
java.lang.String |
getTextContext(java.io.File file,
java.lang.String term,
boolean boldTerm)
Return the search context for a term.
|
java.lang.String |
getTextContext(java.net.URL url,
java.lang.String term)
Return the search context for a term.
|
java.lang.String |
getTextContext(java.net.URL url,
java.lang.String term,
boolean boldTerm)
Return the search context for a term.
|
boolean |
isJSoupAvailable()
Return true if jSoup is available.
|
public boolean isJSoupAvailable()
public java.lang.String getTextContext(java.io.File file,
java.lang.String term)
file - the fileterm - the termpublic java.lang.String getTextContext(java.net.URL url,
java.lang.String term,
boolean boldTerm)
url - the URLterm - the termboldTerm - true if the term should be shown in bold fontpublic java.lang.String getTextContext(java.net.URL url,
java.lang.String term)
url - the URLterm - the termpublic java.lang.String getTextContext(java.io.File file,
java.lang.String term,
boolean boldTerm)
file - the fileterm - the termboldTerm - true if the term should be shown in bold fontCopyright © 2016-2026 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence