public class NetUtils extends Object
| Constructor and Description |
|---|
NetUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPortFree(int port)
Checks if some port is free or not.
|
static boolean |
isPortFree(String port) |
public static boolean isPortFree(String port)
public static boolean isPortFree(int port)
port - port to check the availability ofport is free, false otherwiseCopyright © 2014 JBoss by Red Hat. All rights reserved.