Package org.zkoss.bind.impl
Class MiscUtil
- java.lang.Object
-
- org.zkoss.bind.impl.MiscUtil
-
public class MiscUtil extends java.lang.Objectinternal use only misc util- Author:
- dennis
-
-
Constructor Summary
Constructors Constructor Description MiscUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringformatLocationMessage(java.lang.String message, java.lang.Object obj)static java.lang.StringformatLocationMessage(java.lang.String message, org.zkoss.util.resource.Location loc)static java.lang.StringformatLocationMessage(java.lang.String message, org.zkoss.zk.ui.Component comp)static java.lang.StringformatLocationMessage(java.lang.String message, org.zkoss.zk.ui.metainfo.Annotation anno)static java.lang.RuntimeExceptionmergeExceptionInfo(java.lang.Exception ex, java.lang.Object loc)static <T> TnewInstanceFromProperty(java.lang.String key, java.lang.String def, java.lang.Class<T> type)static java.lang.StringtoSimpleMethodSignature(java.lang.reflect.Method method)
-
-
-
Method Detail
-
toSimpleMethodSignature
public static java.lang.String toSimpleMethodSignature(java.lang.reflect.Method method)
-
newInstanceFromProperty
public static <T> T newInstanceFromProperty(java.lang.String key, java.lang.String def, java.lang.Class<T> type)
-
formatLocationMessage
public static java.lang.String formatLocationMessage(java.lang.String message, java.lang.Object obj)
-
formatLocationMessage
public static java.lang.String formatLocationMessage(java.lang.String message, org.zkoss.zk.ui.Component comp)
-
formatLocationMessage
public static java.lang.String formatLocationMessage(java.lang.String message, org.zkoss.zk.ui.metainfo.Annotation anno)
-
formatLocationMessage
public static java.lang.String formatLocationMessage(java.lang.String message, org.zkoss.util.resource.Location loc)
-
mergeExceptionInfo
public static java.lang.RuntimeException mergeExceptionInfo(java.lang.Exception ex, java.lang.Object loc)
-
-