org.apache.maven.doxia.module.rtf
Class RtfSinkFactory

java.lang.Object
  extended by org.apache.maven.doxia.sink.AbstractBinarySinkFactory
      extended by 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"

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.sink.SinkFactory
ROLE
 
Constructor Summary
RtfSinkFactory()
           
 
Method Summary
 Sink createSink(OutputStream out, String encoding)
          Create a Sink into an OutputStream using a specified encoding.
 
Methods inherited from class org.apache.maven.doxia.sink.AbstractBinarySinkFactory
createSink, createSink, createSink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtfSinkFactory

public RtfSinkFactory()
Method Detail

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.