Java System.inheritedChannel()
Syntax
System.inheritedChannel() has the following syntax.
public static Channel inheritedChannel() throws IOException
Example
In the following code shows how to use System.inheritedChannel() method.
import java.nio.channels.Channel;
//from www .j av a 2 s .co m
public class Main {
public static void main(String[] args) throws Exception {
Channel ch = System.inheritedChannel();
}
}