Class FlatListFormatter
- java.lang.Object
-
- org.intermine.webservice.server.lists.FlatListFormatter
-
- All Implemented Interfaces:
ListFormatter
public class FlatListFormatter extends java.lang.Object implements ListFormatter
Formats a list into its name.- Author:
- Alex Kalderimis
-
-
Constructor Summary
Constructors Constructor Description FlatListFormatter()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.util.List<java.lang.String> format(InterMineBag list)
Description copied from interface:ListFormatter
Format a list into a list of string values.- Specified by:
format
in interfaceListFormatter
- Parameters:
list
- The list to format- Returns:
- A list of strings.
-
setSize
public void setSize(int size)
Description copied from interface:ListFormatter
set the size of the list.- Specified by:
setSize
in interfaceListFormatter
- Parameters:
size
- The size.
-
-