Class FlatListFormatter

  • All Implemented Interfaces:
    ListFormatter

    public class FlatListFormatter
    extends java.lang.Object
    implements ListFormatter
    Formats a list into its name.
    Author:
    Alex Kalderimis
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlatListFormatter

        public FlatListFormatter()
    • 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 interface ListFormatter
        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 interface ListFormatter
        Parameters:
        size - The size.