Class FilterCSVColumn<T extends org.anchoranalysis.io.input.InputFromManager>
Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.input.bean.InputManager<T>>
org.anchoranalysis.io.input.bean.InputManager<T>
org.anchoranalysis.io.input.bean.InputManagerUnary<T>
org.anchoranalysis.plugin.io.bean.input.filter.FilterCSVColumn<T>
- Type Parameters:
T- InputType
public class FilterCSVColumn<T extends org.anchoranalysis.io.input.InputFromManager>
extends org.anchoranalysis.io.input.bean.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 FilterCSVColumn() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.io.input.bean.path.DerivePathgetCsvFilePath()StringgetMatch()protected org.anchoranalysis.io.input.InputsWithDirectory<T>inputsFromDelegate(org.anchoranalysis.io.input.InputsWithDirectory<T> fromDelegate, org.anchoranalysis.io.input.bean.InputManagerParameters parameters)voidsetCsvFilePath(org.anchoranalysis.io.input.bean.path.DerivePath csvFilePath)voidsetMatch(String match)Methods inherited from class org.anchoranalysis.io.input.bean.InputManagerUnary
getInput, inputs, setInput
-
Constructor Details
-
FilterCSVColumn
public FilterCSVColumn()
-
-
Method Details
-
inputsFromDelegate
protected org.anchoranalysis.io.input.InputsWithDirectory<T> inputsFromDelegate(org.anchoranalysis.io.input.InputsWithDirectory<T> fromDelegate, org.anchoranalysis.io.input.bean.InputManagerParameters parameters) throws org.anchoranalysis.io.input.InputReadFailedException- Specified by:
inputsFromDelegatein classorg.anchoranalysis.io.input.bean.InputManagerUnary<T extends org.anchoranalysis.io.input.InputFromManager>- Throws:
org.anchoranalysis.io.input.InputReadFailedException
-
getCsvFilePath
public org.anchoranalysis.io.input.bean.path.DerivePath getCsvFilePath() -
setCsvFilePath
public void setCsvFilePath(org.anchoranalysis.io.input.bean.path.DerivePath csvFilePath) -
getMatch
-
setMatch
-