Class FilterCSVColumn<T extends InputFromManager>

Object
AnchorBean<InputManager<T>>
InputManager<T>
InputManagerUnary<T>
FilterCSVColumn<T>
Type Parameters:
T - InputType

public class FilterCSVColumn<T extends InputFromManager> extends InputManagerUnary<T>
Finds a CSV file with the names of an input as the first-column.

Filters against the value of the second-column of the CSV so that only inputs that match this value are accepted.

Each entry from the delegated input-manager must map 1 to 1 to rows in the CSV file

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    DerivePath
     
     
    protected InputsWithDirectory<T>
    inputsFromDelegate(InputsWithDirectory<T> fromDelegate, InputManagerParameters parameters)
     
    void
    setCsvFilePath(DerivePath csvFilePath)
     
    void
     

    Methods inherited from class org.anchoranalysis.io.input.bean.InputManagerUnary

    getInput, inputs, setInput

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FilterCSVColumn

      public FilterCSVColumn()
  • Method Details

    • inputsFromDelegate

      protected InputsWithDirectory<T> inputsFromDelegate(InputsWithDirectory<T> fromDelegate, InputManagerParameters parameters) throws InputReadFailedException
      Specified by:
      inputsFromDelegate in class InputManagerUnary<T extends InputFromManager>
      Throws:
      InputReadFailedException
    • getCsvFilePath

      public DerivePath getCsvFilePath()
    • setCsvFilePath

      public void setCsvFilePath(DerivePath csvFilePath)
    • getMatch

      public String getMatch()
    • setMatch

      public void setMatch(String match)