@Component(role=SinkFactory.class, hint="rtf") public class RtfSinkFactory extends AbstractBinarySinkFactory
ROLE
Constructor and Description |
---|
RtfSinkFactory() |
Modifier and Type | Method and Description |
---|---|
Sink |
createSink(OutputStream out,
String encoding)
Create a
Sink into an OutputStream using a specified encoding. |
createSink, createSink, createSink
public RtfSinkFactory()
public Sink createSink(OutputStream out, String encoding) throws 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.IOException
- if anyCopyright © 2005–2017 The Apache Software Foundation. All rights reserved.