public class ImplicitPathTypeConverter extends Object implements JIPipeDataConverter
PathData
types (non-trivial conversions)Constructor and Description |
---|
ImplicitPathTypeConverter(Class<? extends JIPipeData> inputType,
Class<? extends JIPipeData> outputType) |
Modifier and Type | Method and Description |
---|---|
JIPipeData |
convert(JIPipeData input,
JIPipeProgressInfo progressInfo)
Converts the supported input type to the output type
|
Class<? extends JIPipeData> |
getInputType() |
Class<? extends JIPipeData> |
getOutputType() |
public ImplicitPathTypeConverter(Class<? extends JIPipeData> inputType, Class<? extends JIPipeData> outputType)
inputType
- the input typeoutputType
- the output typepublic Class<? extends JIPipeData> getInputType()
getInputType
in interface JIPipeDataConverter
public Class<? extends JIPipeData> getOutputType()
getOutputType
in interface JIPipeDataConverter
public JIPipeData convert(JIPipeData input, JIPipeProgressInfo progressInfo)
JIPipeDataConverter
convert
in interface JIPipeDataConverter
input
- the input dataprogressInfo
- the progress infoCopyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.