@Component(role=SinkFactory.class, hint="rtf") public class RtfSinkFactory extends AbstractBinarySinkFactory
ROLE| Constructor and Description |
|---|
RtfSinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
Sink |
createSink(java.io.OutputStream out,
java.lang.String encoding)
Create a
Sink into an OutputStream using a specified encoding. |
createSink, createSink, createSinkpublic Sink createSink(java.io.OutputStream out, java.lang.String encoding) throws java.io.IOException
Sink into an OutputStream using a specified encoding.out - not null OutputStream to write the result.encoding - the output encoding.Sink instance using specified encoding.java.io.IOException - if any