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
- StreamingCommand
InputHandler
for the given input specificationExecException
public static OutputHandler createOutputHandler(StreamingCommand command) throws ExecException
OutputHandler
for the given output specification
of the StreamingCommand
.command
- StreamingCommand
OutputHandler
for the given output specificationExecException
Copyright © 2007-2017 The Apache Software Foundation