com.servingxml.components.command
Class CommandSinkFactory

java.lang.Object
  extended by com.servingxml.components.command.CommandSinkFactory
All Implemented Interfaces:
StreamSinkFactory

public class CommandSinkFactory
extends java.lang.Object
implements StreamSinkFactory


Constructor Summary
CommandSinkFactory(SubstitutionExpr dirResolver, EnvVariableFactory[] envVariableFactories, Command command, CommandArg[] commandArgs, 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

CommandSinkFactory

public CommandSinkFactory(SubstitutionExpr dirResolver,
                          EnvVariableFactory[] envVariableFactories,
                          Command command,
                          CommandArg[] commandArgs,
                          java.nio.charset.Charset charset)
Method Detail

createStreamSink

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

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