public final class SystemChannelFactory extends Object implements ChannelFactory
ChannelFactory which uses System.out, System.err and
System.in for the channels.| Constructor and Description |
|---|
SystemChannelFactory() |
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
createError()
Returns error channel.
|
InputStream |
createInput()
Returns input channel.
|
PrintStream |
createOutput()
Returns output channel.
|
public PrintStream createOutput()
ChannelFactorycreateOutput in interface ChannelFactorypublic PrintStream createError()
ChannelFactorycreateError in interface ChannelFactorypublic InputStream createInput()
ChannelFactorycreateInput in interface ChannelFactoryCopyright © 2012–2022. All rights reserved.