Class Channels
java.lang.Object
com.github.rvesse.airline.Channels
Channels provides methods for the cli output, error and input channels. The implementation of the channels can be
changed with an implementation of
ChannelFactory which must be registered via ServiceLoader. The
default implementation is SystemChannelFactory.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrintStreamerror()Returns error channel.static InputStreaminput()Returns input channel.static PrintStreamoutput()Returns output channel.
-
Field Details
-
FACTORY
-
-
Constructor Details
-
Channels
private Channels()
-
-
Method Details
-
output
-
error
-
input
-