Class Summary

java.lang.Object
org.opengrok.indexer.search.Summary

public class Summary extends Object
A document summary dynamically generated to match a query.
  • Constructor Details

    • Summary

      public Summary()
  • Method Details

    • htmlize

      protected static String htmlize(String q)
    • add

      public void add(Summary.Fragment fragment)
    • getFragments

      public Summary.Fragment[] getFragments()
      Returns an array of all of this summary's fragments.
      Returns:
      fragment array
    • toString

      public String toString()
      Returns an HTML representation of this fragment.
      Overrides:
      toString in class Object
      Returns:
      string representation