Package com.intellij.util.net
Class NetUtils
- java.lang.Object
-
- com.intellij.util.net.NetUtils
-
public class NetUtils extends Object
- Author:
- yole
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
findAvailableSocketPort()
static int[]
findAvailableSocketPorts(int capacity)
static String
getLocalHostString()
-
-
-
Method Detail
-
findAvailableSocketPort
public static int findAvailableSocketPort() throws IOException
- Throws:
IOException
-
findAvailableSocketPorts
public static int[] findAvailableSocketPorts(int capacity) throws IOException
- Throws:
IOException
-
getLocalHostString
public static String getLocalHostString()
-
-