|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.nutch.searcher.Summary
A document summary dynamically generated to match a query.
Nested Class Summary | |
static class |
Summary.Ellipsis
An ellipsis fragment within a summary. |
static class |
Summary.Fragment
A fragment of text within a summary. |
static class |
Summary.Highlight
A highlighted fragment of text within a summary. |
Constructor Summary | |
Summary()
Constructs an empty Summary. |
Method Summary | |
void |
add(Summary.Fragment fragment)
Adds a fragment to a summary. |
Summary.Fragment[] |
getFragments()
Returns an array of all of this summary's fragments. |
String |
toString()
Returns an HTML representation of this fragment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Summary()
Method Detail |
public void add(Summary.Fragment fragment)
public Summary.Fragment[] getFragments()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |