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
- Version:
- $Id$
-
-
Field Summary
-
Fields inherited from interface org.apache.maven.doxia.sink.SinkFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description RtfSinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sink
createSink(java.io.OutputStream out, java.lang.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
-
-
-
-
Method Detail
-
createSink
public Sink createSink(java.io.OutputStream out, java.lang.String encoding) throws java.io.IOException
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:
java.io.IOException
- if any
-
-