| java.lang.Object org.netbeans.modules.tomcat5.util.Utils
Utils | public class Utils (Code) | | Utility class.
author: sherold |
Method Summary | |
public static URL | fileToUrl(File file) Return URL representation of the specified file. | public static boolean | isPortFree(int port) Return true if the specified port is free, false otherwise. | public static boolean | pingTomcat(int port, int timeout) |
isPortFree | public static boolean isPortFree(int port)(Code) | | Return true if the specified port is free, false otherwise.
|
pingTomcat | public static boolean pingTomcat(int port, int timeout)(Code) | | Return true if a Tomcat server is running on the specifed port
|
|
|