Class RtfSinkFactory
java.lang.Object
org.apache.maven.doxia.sink.impl.AbstractBinarySinkFactory
org.apache.maven.doxia.module.rtf.RtfSinkFactory
- All Implemented Interfaces:
SinkFactory
@Component(role=SinkFactory.class,
hint="rtf")
public class RtfSinkFactory
extends AbstractBinarySinkFactory
Rtf implementation of the Sink factory.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface org.apache.maven.doxia.sink.SinkFactory
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSink
(OutputStream out, String encoding) Create aSink
into an OutputStream using a specified encoding.Methods inherited from class org.apache.maven.doxia.sink.impl.AbstractBinarySinkFactory
createSink, createSink, createSink
-
Constructor Details
-
RtfSinkFactory
public RtfSinkFactory()
-
-
Method Details
-
createSink
Create aSink
into an OutputStream using a specified encoding.- Parameters:
out
- not null OutputStream to write the result.encoding
- the output encoding.- Returns:
- a
Sink
instance using specified encoding. - Throws:
IOException
- if any.
-