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 aSinkinto 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 aSinkinto an OutputStream using a specified encoding.- Parameters:
out- not null OutputStream to write the result.encoding- the output encoding.- Returns:
- a
Sinkinstance using specified encoding. - Throws:
IOException- if any.
-