public abstract class AbstractParsersParameterTransformation<G> extends StreamWithOptionsParameterTransformation<G>
| Constructor and Description |
|---|
AbstractParsersParameterTransformation(Parsers<G> parsers,
java.lang.String defaultParser,
java.lang.String objectName) |
| Modifier and Type | Method and Description |
|---|---|
G |
transform(java.io.InputStream input,
java.lang.String parser)
Transforms the data from the given stream into some target type T.
|
transformtransformpublic G transform(java.io.InputStream input, java.lang.String parser) throws ModuleException, java.io.IOException
StreamWithOptionsParameterTransformationParameterTransformation.transform(String) on the result.transform in class StreamWithOptionsParameterTransformation<G>input - parameterparser - options that were given for this parameterModuleException - thrown when the transformation failsjava.io.IOException - thrown when reading from the stream fails