public final class Jdk6Helper extends Jdk5Helper
JdkHelper implementation for JDK6.| Constructor and Description |
|---|
Jdk6Helper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init()
dummy method to force inclusion by classlister
|
boolean |
isInterfaceUp(NetworkInterface iface)
Returns true if the given
NetworkInterface is up. |
String |
readChars(InputStream in,
boolean noecho)
reads characters without the trailing newline from standard input in case a
console is available else reading from the given input stream
|
getThreadId, newByte, newCharacter, newConcurrentMap, newInteger, newLong, newShort, newWrappedStringpublic static void init()
public final String readChars(InputStream in, boolean noecho)
JdkHelperreadChars in interface JdkHelperreadChars in class Jdk5HelperJdkHelper.readChars(InputStream, boolean)public boolean isInterfaceUp(NetworkInterface iface) throws SocketException
JdkHelperNetworkInterface is up.isInterfaceUp in interface JdkHelperisInterfaceUp in class Jdk5HelperSocketExceptionJdkHelper.isInterfaceUp(NetworkInterface)Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.