Interface ListFormatter
-
- All Known Implementing Classes:
FlatListFormatter
,HtmlListFormatter
,JSONListFormatter
public interface ListFormatter
The common interface for formatters that know how to format lists.- Author:
- Alex Kalderimis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
format(InterMineBag list)
Format a list into a list of string values.void
setSize(int size)
set the size of the list.
-
-
-
Method Detail
-
format
java.util.List<java.lang.String> format(InterMineBag list)
Format a list into a list of string values.- Parameters:
list
- The list to format- Returns:
- A list of strings.
-
setSize
void setSize(int size)
set the size of the list.- Parameters:
size
- The size.
-
-