- java.lang.Object
-
- com.github.rvesse.airline.Channels
-
public final class Channels extends java.lang.ObjectChannels provides methods for the cli output, error and input channels. The implementation of the channels can be changed with an implementation ofChannelFactorywhich must be registered viaServiceLoader. The default implementation isSystemChannelFactory.
-
-
Field Summary
Fields Modifier and Type Field Description private static ChannelFactoryFACTORY
-
Constructor Summary
Constructors Modifier Constructor Description privateChannels()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.PrintStreamerror()Returns error channel.static java.io.InputStreaminput()Returns input channel.static java.io.PrintStreamoutput()Returns output channel.
-
-
-
Field Detail
-
FACTORY
private static ChannelFactory FACTORY
-
-