java - Deprecated methods in JasperReport -


i using jasperreports-6.1.0.jar, , there deprecated methods in class jrprintserviceexporterparameter.

how find out method or class supposed use?

how find out if it's safe use deprecated methods?

edit:

this deprecated part of code:

exporter = new jrprintserviceexporter();         exporter.setparameter(jrexporterparameter.jasper_print, jasperprint);         exporter.setparameter(jrprintserviceexporterparameter.print_service, printservice[selectedservice]);         exporter.setparameter(jrprintserviceexporterparameter.print_service_attribute_set, printservice[selectedservice].getattributes());         exporter.setparameter(jrprintserviceexporterparameter.print_request_attribute_set, printrequestattributeset);         exporter.setparameter(jrprintserviceexporterparameter.display_page_dialog, boolean.false);         exporter.setparameter(jrprintserviceexporterparameter.display_print_dialog, boolean.false);         exporter.exportreport(); 

deprecated methods safe use. continue work may removed in future. fine.

but should consider cleaning code reading javadocs here , looking @ recommendation new way call features need.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -