public interface ConversionStrategy<T>
| Modifier and Type | Method and Description |
|---|---|
T |
convertContent(InputStream inputStream,
String encoding)
Converts the content of the given stream into the target type.
|
String |
getDefaultFileExtension() |
Class<T> |
getTargetType() |
T convertContent(InputStream inputStream, String encoding) throws IOException
inputStream - The stream with the content, not nullencoding - The encoding to use when reading the stream, not nullIOExceptionString getDefaultFileExtension()
Copyright © 2017. All rights reserved.