Package com.logicaldoc.util.io
Class NetUtil
java.lang.Object
com.logicaldoc.util.io.NetUtil
Some network utility methods.
- Since:
- 4.5
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
available
(int port) Checks if a port is available
-
Method Details
-
available
public static boolean available(int port) Checks if a port is available- Parameters:
port
- The port to check- Returns:
- true id the port is available
-