Class SystemChannelFactory
java.lang.Object
com.github.rvesse.airline.SystemChannelFactory
- All Implemented Interfaces:
ChannelFactory
Default implementation of
ChannelFactory which uses System.out, System.err and
System.in for the channels.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns error channel.Returns input channel.Returns output channel.
-
Constructor Details
-
SystemChannelFactory
public SystemChannelFactory()
-
-
Method Details
-
createOutput
Description copied from interface:ChannelFactoryReturns output channel.- Specified by:
createOutputin interfaceChannelFactory- Returns:
- output channel
-
createError
Description copied from interface:ChannelFactoryReturns error channel.- Specified by:
createErrorin interfaceChannelFactory- Returns:
- error channel
-
createInput
Description copied from interface:ChannelFactoryReturns input channel.- Specified by:
createInputin interfaceChannelFactory- Returns:
- input channel
-