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) |
default void |
convertPostRepoSave(RepositoryFile file)
Invoked for further processing of content after it was saved to repository.
|
IRepositoryFileData convert(InputStream inputStream, String charset, String mimeType) throws ConverterException
inputStream
- charset
- mimeType
- ConverterException
InputStream convert(IRepositoryFileData data)
data
- InputStream convert(Serializable fileId)
fileId
- default void convertPostRepoSave(RepositoryFile file)
file
- repository file where content was stored in.Copyright © 2020 Hitachi Vantara. All rights reserved.