public class HandlerFactory extends Object
InputHandler or OutputHandler
depending on the specification of the StreamingCommand.| Constructor and Description |
|---|
HandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static InputHandler |
createInputHandler(StreamingCommand command)
Create an
InputHandler for the given input specification
of the StreamingCommand. |
static OutputHandler |
createOutputHandler(StreamingCommand command)
Create an
OutputHandler for the given output specification
of the StreamingCommand. |
public static InputHandler createInputHandler(StreamingCommand command) throws ExecException
InputHandler for the given input specification
of the StreamingCommand.command - StreamingCommandInputHandler for the given input specificationExecExceptionpublic static OutputHandler createOutputHandler(StreamingCommand command) throws ExecException
OutputHandler for the given output specification
of the StreamingCommand.command - StreamingCommandOutputHandler for the given output specificationExecExceptionCopyright © 2007-2017 The Apache Software Foundation