public interface Converter
InputStream
and an
IRepositoryFileData
.
Added support for using just fileId and assume converter encapsulates all necessary logic for getting file data and
conversionModifier and Type | Method and Description |
---|---|
IRepositoryFileData |
convert(InputStream inputStream,
String charset,
String mimeType) |
InputStream |
convert(IRepositoryFileData data) |
InputStream |
convert(Serializable fileId) |
IRepositoryFileData convert(InputStream inputStream, String charset, String mimeType)
inputStream
- charset
- mimeType
- InputStream convert(IRepositoryFileData data)
data
- InputStream convert(Serializable fileId)
fileId
-