For example, i have java class JRXlsExporter, if i instantiated that java from java my code is :
JRXlsExporter myObject= new JRXlsExporter();
and from PHP become:
$myObject = new Java("net.sf.jasperreports.engine.export.JRXlsExporter");
It works, but if i have java class with parameter, for example :
JRXlsExporter myObject= new JRXlsExporter(param1,param2);
How to instantiate/call that java class from PHP ?