lbg.common.net
Class CommonNetHandling
java.lang.Object
lbg.common.net.CommonNetHandling
public abstract class CommonNetHandling
- extends java.lang.Object
A CommonNetHandling provides common Net handling routines.
- Author:
- Cyril Briquet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonNetHandling
public CommonNetHandling()
isValidPort
public static boolean isValidPort(int port)
getLocalHostName
public static java.lang.String getLocalHostName()
throws GridException
- Throws:
GridException
loadURLSafely
public static java.net.URL loadURLSafely(java.lang.String target_url)
loadRandomURLSafely
public static java.net.URL loadRandomURLSafely(java.lang.String[] target_url)
getCoresCount
public static int getCoresCount()
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.