org.apache.maven.doxia.sink
Class AbstractBinarySinkFactory

java.lang.Object
  extended by org.apache.maven.doxia.sink.AbstractBinarySinkFactory
All Implemented Interfaces:
SinkFactory

public abstract class AbstractBinarySinkFactory
extends Object
implements SinkFactory

An abstract SinkFactory for binary output.

Since:
1.1
Version:
$Id: AbstractBinarySinkFactory.java 746978 2009-02-23 12:20:33Z vsiveton $
Author:
Hervé Boutemy

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

Constructor Detail

AbstractBinarySinkFactory

public AbstractBinarySinkFactory()
Method Detail

createSink

public Sink createSink(File outputDir,
                       String outputName)
                throws IOException

Specified by:
createSink in interface SinkFactory
Throws:
IOException

createSink

public Sink createSink(File outputDir,
                       String outputName,
                       String encoding)
                throws IOException

Specified by:
createSink in interface SinkFactory
Throws:
IOException

createSink

public Sink createSink(OutputStream out)
                throws IOException

Specified by:
createSink in interface SinkFactory
Throws:
IOException


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.