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.String
bypage
static java.lang.String
ddmCount
static java.lang.String
ddmDeadline
static java.lang.String
higlight
static java.lang.String
infoAfter
static java.lang.String
infoBefore
static java.lang.String
jump
static java.lang.String
jumpPrefix
static java.lang.String
library
static java.lang.String
merge
static java.lang.String
noInfo
static java.lang.String
pdf2txt
static java.lang.String
previewMaxLoad
static java.lang.String
previewMaxShow
static java.lang.String
query
static java.lang.String
records
static java.lang.String
searchType
static java.lang.String
showAlsoPdfInfo
static java.lang.String
startAt
-
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 void
file(java.lang.String url, int page, float score)
WebParams
getDefaults()
void
haders()
void
pages(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:
file
in interfaceFormatter
- Overrides:
file
in classStaticHtmlFormatter
-
pages
public void pages(int from, int to, int total)
- Specified by:
pages
in interfaceFormatter
- Overrides:
pages
in classStaticHtmlFormatter
-
haders
public void haders()
- Specified by:
haders
in interfaceFormatter
- Overrides:
haders
in classStaticHtmlFormatter
-
getDefaults
public WebParams getDefaults()
-
-