Class Formatter
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.utils.searchengine.Formatter
-
public class Formatter extends Object
Produce readable displays of objects related to the search engine.
-
-
Constructor Summary
Constructors Constructor Description Formatter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringformat(SearchInputDocument doc)static Stringformat(SearchInputField field)static Stringformat(SearchQuery query)static Stringformat(SearchResponse response)static StringgetValueFromField(SearchInputDocument doc, String fieldName)static StringgetValueFromField(SearchResultDocument doc, String fieldName)
-
-
-
Method Detail
-
format
public static String format(SearchInputDocument doc)
-
getValueFromField
public static String getValueFromField(SearchInputDocument doc, String fieldName)
-
format
public static String format(SearchInputField field)
-
format
public static String format(SearchQuery query)
-
format
public static String format(SearchResponse response)
-
getValueFromField
public static String getValueFromField(SearchResultDocument doc, String fieldName)
-
-