Class ResultSetColumns


  • public final class ResultSetColumns
    extends java.lang.Object
    Utility class used to write and read configuration-strings for the result set view.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String columnsToString​(java.util.Collection<ResultSetColumn> columns)
      Creates a string containing the configuration of the specified columns.
      static java.util.Collection<ResultSetColumn> stringToColumns​(java.lang.String string)
      Reads a configuration-string and creates columns based on the configuration specified in the string.
      • Methods inherited from class java.lang.Object

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

      • columnsToString

        public static java.lang.String columnsToString​(java.util.Collection<ResultSetColumn> columns)
        Creates a string containing the configuration of the specified columns.
        Parameters:
        columns - columns to save
        Returns:
        string containing the configuration of the columns
      • stringToColumns

        public static java.util.Collection<ResultSetColumn> stringToColumns​(java.lang.String string)
        Reads a configuration-string and creates columns based on the configuration specified in the string.
        Parameters:
        string - configuration string
        Returns:
        list of configured columns. Only the name, width and sorting-directions are configured.