Package javadocofflinesearch.formatters
Class SearchableHtmlFormatter
- java.lang.Object
-
- javadocofflinesearch.formatters.StaticHtmlFormatter
-
- javadocofflinesearch.formatters.SearchableHtmlFormatter
-
- All Implemented Interfaces:
Formatter
- Direct Known Subclasses:
AjaxHtmlFormatter
public class SearchableHtmlFormatter extends StaticHtmlFormatter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Stringbypagestatic java.lang.StringddmCountstatic java.lang.StringddmDeadlinestatic java.lang.Stringhiglightstatic java.lang.StringinfoAfterstatic java.lang.StringinfoBeforestatic java.lang.Stringjumpstatic java.lang.StringjumpPrefixstatic java.lang.Stringlibrarystatic java.lang.Stringmergestatic java.lang.StringnoInfostatic java.lang.Stringpdf2txtstatic java.lang.StringpreviewMaxLoadstatic java.lang.StringpreviewMaxShowstatic java.lang.Stringquerystatic java.lang.Stringrecordsstatic java.lang.StringsearchTypestatic java.lang.StringshowAlsoPdfInfostatic java.lang.StringstartAt-
Fields inherited from class javadocofflinesearch.formatters.StaticHtmlFormatter
infoExtractor, out, setup
-
-
Constructor Summary
Constructors Constructor Description SearchableHtmlFormatter(java.io.PrintStream out, WebParams defaults)SearchableHtmlFormatter(java.io.PrintStream out, LibrarySetup setup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfile(java.lang.String url, int page, float score)WebParamsgetDefaults()voidhaders()voidpages(int from, int to, int total)-
Methods inherited from class javadocofflinesearch.formatters.StaticHtmlFormatter
anchors, couldYouMeant, highlightEnd, highlitEnd, highlitStart, highlitStart, initializationFailed, printLibrary, resulsSummary, resultsIn, searchStarted, summary, tail, title
-
-
-
-
Field Detail
-
searchType
public static final java.lang.String searchType
- See Also:
- Constant Field Values
-
previewMaxShow
public static final java.lang.String previewMaxShow
- See Also:
- Constant Field Values
-
previewMaxLoad
public static final java.lang.String previewMaxLoad
- See Also:
- Constant Field Values
-
merge
public static final java.lang.String merge
- See Also:
- Constant Field Values
-
higlight
public static final java.lang.String higlight
- See Also:
- Constant Field Values
-
jump
public static final java.lang.String jump
- See Also:
- Constant Field Values
-
pdf2txt
public static final java.lang.String pdf2txt
- See Also:
- Constant Field Values
-
query
public static final java.lang.String query
- See Also:
- Constant Field Values
-
library
public static final java.lang.String library
- See Also:
- Constant Field Values
-
noInfo
public static final java.lang.String noInfo
- See Also:
- Constant Field Values
-
showAlsoPdfInfo
public static final java.lang.String showAlsoPdfInfo
- See Also:
- Constant Field Values
-
infoBefore
public static final java.lang.String infoBefore
- See Also:
- Constant Field Values
-
infoAfter
public static final java.lang.String infoAfter
- See Also:
- Constant Field Values
-
ddmDeadline
public static final java.lang.String ddmDeadline
- See Also:
- Constant Field Values
-
ddmCount
public static final java.lang.String ddmCount
- See Also:
- Constant Field Values
-
startAt
public static final java.lang.String startAt
- See Also:
- Constant Field Values
-
records
public static final java.lang.String records
- See Also:
- Constant Field Values
-
bypage
public static final java.lang.String bypage
- See Also:
- Constant Field Values
-
jumpPrefix
public static final java.lang.String jumpPrefix
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchableHtmlFormatter
public SearchableHtmlFormatter(java.io.PrintStream out, LibrarySetup setup)
-
SearchableHtmlFormatter
public SearchableHtmlFormatter(java.io.PrintStream out, WebParams defaults)
-
-
Method Detail
-
file
public void file(java.lang.String url, int page, float score)- Specified by:
filein interfaceFormatter- Overrides:
filein classStaticHtmlFormatter
-
pages
public void pages(int from, int to, int total)- Specified by:
pagesin interfaceFormatter- Overrides:
pagesin classStaticHtmlFormatter
-
haders
public void haders()
- Specified by:
hadersin interfaceFormatter- Overrides:
hadersin classStaticHtmlFormatter
-
getDefaults
public WebParams getDefaults()
-
-