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 PrintStream
error()
Returns error channel.static InputStream
input()
Returns input channel.static PrintStream
output()
Returns output channel.
-
Field Details
-
FACTORY
-
-
Constructor Details
-
Channels
private Channels()
-
-
Method Details
-
output
Returns output channel.- Returns:
- output channel
-
error
Returns error channel.- Returns:
- error channel
-
input
Returns input channel.- Returns:
- input channel
-