Class SpreadSheetJoinColumns

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<AbstractConversion>, SizeOfHandler, Stoppable, Conversion, Serializable

    public class SpreadSheetJoinColumns
    extends AbstractSpreadSheetConversion
    Merges two or more columns in a spreadsheet into a single column.
    Columns can be out-of-order.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -columns <adams.data.spreadsheet.SpreadSheetUnorderedColumnRange> (property: columns)
        The range of columns to merge into a single one
        default: first-last
        example: A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); column names (case-sensitive) as well as the following placeholders can be used: first, second, third, last_2, last_1, last; numeric indices can be enforced by preceding them with '#' (eg '#12'); column names can be surrounded by double quotes.
     
    -glue <java.lang.String> (property: glue)
        The 'glue' string to use between two values that get merged.
        default:
     
    -column-name <java.lang.String> (property: columnName)
        The new column name; if left empty, a name is generated from the processed
        columns.
        default:
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • SpreadSheetJoinColumns

        public SpreadSheetJoinColumns()
    • Method Detail

      • columnsTipText

        public String columnsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setGlue

        public void setGlue​(String value)
        Sets the "glue" to use between two columns.
        Parameters:
        value - the glue
      • getGlue

        public String getGlue()
        Returns the "glue" to use between two columns.
        Returns:
        the glue
      • glueTipText

        public String glueTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setColumnName

        public void setColumnName​(String value)
        Sets the new column name.
        Parameters:
        value - the column name
      • getColumnName

        public String getColumnName()
        Returns the new column name.
        Returns:
        the column name
      • columnNameTipText

        public String columnNameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.