Package javadocofflinesearch.lucene
Class InfoExtractor
java.lang.Object
javadocofflinesearch.lucene.InfoExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringhighlightInDoc(String url, String queryString, Formatter f, boolean high, boolean jump) static StringhighlightInString(String s, String queryString, Formatter f, boolean high, boolean jump, boolean html)
-
Constructor Details
-
InfoExtractor
-
-
Method Details
-
extract
public String extract(String url, String queryString, Formatter f, int lShift, int rShift) throws IOException, SAXException, ParserConfigurationException -
highlightInDoc
public static String highlightInDoc(String url, String queryString, Formatter f, boolean high, boolean jump) throws IOException, SAXException, ParserConfigurationException -
highlightInString
public static String highlightInString(String s, String queryString, Formatter f, boolean high, boolean jump, boolean html) throws IOException, SAXException, ParserConfigurationException
-