Class SpreadSheetRemoveColumn

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<Actor>, SizeOfHandler, Stoppable, StoppableWithFeedback, VariablesInspectionHandler, VariableChangeListener, Actor, ErrorHandler, InputConsumer, OutputProducer, Serializable, Comparable

    public class SpreadSheetRemoveColumn
    extends AbstractSpreadSheetTransformer
    Removes the column(s) at the specific position from spreadsheets coming through.

    - accepts:
    - generates:

    Valid options are:

    -D <int> (property: debugLevel)
        The greater the number the more additional info the scheme may output to 
        the console (0 = off).
        default: 0
        minimum: 0
    -name <java.lang.String> (property: name)
        The name of the actor.
        default: SpreadSheetRemoveColumn
    -annotation <adams.core.base.BaseText> (property: annotations)
        The annotations to attach to this actor.
    -skip (property: skip)
        If set to true, transformation is skipped and the input token is just forwarded 
        as it is.
    -stop-flow-on-error (property: stopFlowOnError)
        If set to true, the flow gets stopped in case this actor encounters an error;
         useful for critical actors.
    -position <> (property: position)
        The position of the columns to remove; A range is a comma-separated list 
        of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(..
        .)' inverts the range '...'; the following placeholders can be used as well:
         first, second, third, last_2, last_1, last
        default: first-last
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • SpreadSheetRemoveColumn

        public SpreadSheetRemoveColumn()
    • Method Detail

      • setPosition

        public void setPosition​(SpreadSheetColumnRange value)
        Sets the position of the columns to remove.
        value - the position
      • getPosition

        public SpreadSheetColumnRange getPosition()
        Returns the position of the columns to remove.
        the position
      • positionTipText

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

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        null if everything is fine, otherwise error message