public abstract class AbstractBinarySinkFactory extends Object implements SinkFactory
SinkFactory for binary output.ROLE| Constructor and Description |
|---|
AbstractBinarySinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
Sink |
createSink(File outputDir,
String outputName)
Create a
Sink into a file. |
Sink |
createSink(File outputDir,
String outputName,
String encoding)
Create a
Sink into a file using a specified encoding. |
Sink |
createSink(OutputStream out)
Create a
Sink into an OutputStream. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSinkpublic Sink createSink(File outputDir, String outputName) throws IOException
Sink into a file.createSink in interface SinkFactoryoutputDir - the not-null output dir.outputName - the not-null output name.Sink instance with a file as output.IOException - if anypublic Sink createSink(File outputDir, String outputName, String encoding) throws IOException
Sink into a file using a specified encoding.createSink in interface SinkFactoryoutputDir - the not-null output dir.outputName - the not-null output name.encoding - the output encoding.Sink instance with a file as output and using specified encoding.IOException - if anySinkFactory.createSink(File, String)public Sink createSink(OutputStream out) throws IOException
Sink into an OutputStream.createSink in interface SinkFactoryout - not null OutputStream to write the result.Sink instance.IOException - if anyCopyright © 2005–2014. All rights reserved.