com.servingxml.components.streamsink.file
Class FileSinkFactory

java.lang.Object
  extended by com.servingxml.components.streamsink.file.FileSinkFactory
All Implemented Interfaces:
StreamSinkFactory

public class FileSinkFactory
extends java.lang.Object
implements StreamSinkFactory


Constructor Summary
FileSinkFactory(SubstitutionExpr directoryResolver, SubstitutionExpr fileResolver, java.io.File parent, java.nio.charset.Charset charset)
           
 
Method Summary
 StreamSink createStreamSink(ServiceContext context, Flow flow)
           
 java.nio.charset.Charset getCharset()
           
 java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSinkFactory

public FileSinkFactory(SubstitutionExpr directoryResolver,
                       SubstitutionExpr fileResolver,
                       java.io.File parent,
                       java.nio.charset.Charset charset)
Method Detail

getCharset

public java.nio.charset.Charset getCharset()
Specified by:
getCharset in interface StreamSinkFactory

getCharset

public java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)
Specified by:
getCharset in interface StreamSinkFactory

createStreamSink

public StreamSink createStreamSink(ServiceContext context,
                                   Flow flow)
Specified by:
createStreamSink in interface StreamSinkFactory