org.apache.maven.doxia.module.rtf
Class RtfSinkFactory
java.lang.Object
org.apache.maven.doxia.sink.AbstractBinarySinkFactory
org.apache.maven.doxia.module.rtf.RtfSinkFactory
- All Implemented Interfaces:
- SinkFactory
public class RtfSinkFactory
- extends AbstractBinarySinkFactory
Rtf implementation of the Sink factory.
- Since:
- 1.0
- Version:
- $Id: RtfSinkFactory.java 712516 2008-11-09 17:04:22Z hboutemy $
- Author:
- Vincent Siveton
- Plexus component:
- role:
- "org.apache.maven.doxia.sink.SinkFactory"
- role-hint:
- "rtf"
|
Fields inherited from interface org.apache.maven.doxia.sink.SinkFactory |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtfSinkFactory
public RtfSinkFactory()
createSink
public Sink createSink(OutputStream out,
String encoding)
throws IOException
- Create a
Sink
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
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.