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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
convert(java.lang.String systemID, java.lang.String originalSourceSystemID, java.io.InputStream is, java.io.OutputStream os, java.util.LinkedHashMap<java.lang.String,java.lang.String> properties)
Convert the input stream to an output stream.
-
-
-
Method Detail
-
convert
void convert(java.lang.String systemID, java.lang.String originalSourceSystemID, java.io.InputStream is, java.io.OutputStream os, java.util.LinkedHashMap<java.lang.String,java.lang.String> properties) throws java.io.IOException
Convert 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:
java.io.IOException
- If it fails to convert.
-
-