|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.nutch.searcher.Summary.Fragment
A fragment of text within a summary.
Constructor Summary | |
Summary.Fragment(String text)
Constructs a fragment for the given text. |
Method Summary | |
String |
getText()
Returns the text of this fragment. |
boolean |
isEllipsis()
Returns true iff this fragment is an ellipsis. |
boolean |
isHighlight()
Returns true iff this fragment is to be highlighted. |
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.Fragment(String text)
Method Detail |
public String getText()
public boolean isHighlight()
public boolean isEllipsis()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |