Package ro.sync.net.protocol.convert
Interface ConversionProvider
@API(type=EXTENDABLE,
src=PUBLIC)
public interface ConversionProvider
Provides conversion for a certain type of processor
- Since:
- 17
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convert
(String systemID, String originalSourceSystemID, InputStream is, OutputStream os, LinkedHashMap<String, String> properties) Convert the input stream to an output stream.
-
Method Details
-
convert
void convert(String systemID, String originalSourceSystemID, InputStream is, OutputStream os, LinkedHashMap<String, String> properties) throws IOExceptionConvert the input stream to an output stream.- Parameters:
systemID
- The entire URL string.originalSourceSystemID
- The original source system IDis
- The input source. The converter should not attempt to close it.os
- The output source The converter should not attempt to close it.properties
- The map of properties.- Throws:
IOException
- If it fails to convert.
-