| java.lang.Object com.sun.jbi.ui.common.Util
Util | public class Util (Code) | | This object provides utility methods common for client or server side code for tools.
author: Sun Microsystems, Inc. |
getCommonI18NBundle | public static I18NBundle getCommonI18NBundle()(Code) | | gives the I18N bundle
I18NBundle object |
isLocalHost | public static boolean isLocalHost(String host) throws java.net.UnknownHostException(Code) | | This method checks that the host name is a localhost or a remote host. This method
compares the host name on which this method is getting executes with the host name
that is passed to this method. if the comparison matches it returns true.
Parameters: host - host name to check for local or remote host. throws: java.net.UnknownHostException - on errror. true if the host name passed is a localhost else false. |
logDebug | public static void logDebug(String msg)(Code) | | prints the string to debug output
Parameters: msg - text to print |
logDebug | public static void logDebug(Logger logger, Exception ex)(Code) | | logs the message
Parameters: logger - logger Parameters: ex - exception |
logDebug | public static void logDebug(Exception ex)(Code) | | logs the message
Parameters: ex - exception |
|
|