public class Summary
extends Object
Constructor and Description |
---|
Summary(Locale locale,
String title,
String content) |
Summary(String title,
String content) |
Modifier and Type | Method and Description |
---|---|
String |
getContent() |
String |
getHighlightedContent() |
String |
getHighlightedTitle() |
Locale |
getLocale() |
int |
getMaxContentLength() |
String[] |
getQueryTerms() |
String |
getTitle() |
boolean |
isEscape() |
boolean |
isHighlight() |
void |
setContent(String content) |
void |
setEscape(boolean escape) |
void |
setHighlight(boolean highlight) |
void |
setLocale(Locale locale) |
void |
setMaxContentLength(int maxContentLength) |
void |
setQueryTerms(String[] queryTerms) |
void |
setTitle(String title) |
public Summary(Locale locale, String title, String content)
public Summary(String title, String content)
public String getContent()
public String getHighlightedContent()
public String getHighlightedTitle()
public Locale getLocale()
public int getMaxContentLength()
public String[] getQueryTerms()
public String getTitle()
public boolean isEscape()
public boolean isHighlight()
public void setContent(String content)
public void setEscape(boolean escape)
public void setHighlight(boolean highlight)
public void setLocale(Locale locale)
public void setMaxContentLength(int maxContentLength)
public void setQueryTerms(String[] queryTerms)
public void setTitle(String title)