public class LaunchUtils extends Object
| Constructor and Description |
|---|
LaunchUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
available(int port)
Checks to see if a specific port is available.
|
static int |
getFreePort() |
static boolean |
isMac() |
static boolean |
isSolaris() |
static boolean |
isUnix() |
static boolean |
isWindows() |
public static boolean isWindows()
public static boolean isMac()
public static boolean isUnix()
public static boolean isSolaris()
public static int getFreePort()
public static boolean available(int port)
throws IllegalArgumentException
port - the port number to check for availabilityIllegalArgumentException - is thrown if the port number is out of rangeCopyright © 2017 WSO2. All rights reserved.