T - transformation target typepublic abstract class StreamWithOptionsParameterTransformation<T> extends StreamParameterTransformation<T>
| Constructor and Description |
|---|
StreamWithOptionsParameterTransformation() |
| Modifier and Type | Method and Description |
|---|---|
T |
transform(java.io.InputStream arg)
Transforms the data from the given stream into some target type T.
|
abstract T |
transform(java.io.InputStream arg,
java.lang.String options)
Transforms the data from the given stream into some target type T.
|
transformpublic StreamWithOptionsParameterTransformation()
public final T transform(java.io.InputStream arg) throws ModuleException, java.io.IOException
StreamParameterTransformationParameterTransformation.transform(String) on the result.transform in class StreamParameterTransformation<T>arg - parameterModuleException - thrown when the transformation failsjava.io.IOException - thrown when reading from the stream failspublic abstract T transform(java.io.InputStream arg, java.lang.String options) throws ModuleException, java.io.IOException
ParameterTransformation.transform(String) on the result.arg - parameteroptions - options that were given for this parameterModuleException - thrown when the transformation failsjava.io.IOException - thrown when reading from the stream fails