Package com.vdoc.sdk.commons.js.utils
Class JsUtils
java.lang.Object
com.vdoc.sdk.commons.js.utils.JsUtils
Javascript utility class
Created on 6 sept. 2011
- Author:
- vmartinon
-
Method Summary
-
Method Details
-
invoke
public static Object invoke(Object o, String method, List<String> cNameClasses, List<Object> cParameters) This method is used to invoke a java method from javascript Can be used for example to solve problems with reserved method names (eg : delete)- Parameters:
o- the object on which we execute methodmethod- the method namecNameClasses- arraylist of classes full names needed by method definition (String and not Class)cParameters- arraylist of parameters to send to the method- Returns:
- the result object
-