Package net.sf.jasperreports.view.save
Class JRXmlSaveContributor
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- net.sf.jasperreports.view.JRSaveContributor
-
- net.sf.jasperreports.view.save.JRXmlSaveContributor
-
public class JRXmlSaveContributor extends JRSaveContributor
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRXmlSaveContributor(java.util.Locale locale, java.util.ResourceBundle resBundle)JRXmlSaveContributor(JasperReportsContext jasperReportsContext, java.util.Locale locale, java.util.ResourceBundle resBundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File file)java.lang.StringgetDescription()voidsave(JasperPrint jasperPrint, java.io.File file)-
Methods inherited from class net.sf.jasperreports.view.JRSaveContributor
getBundleString, getJasperReportsContext
-
-
-
-
Constructor Detail
-
JRXmlSaveContributor
public JRXmlSaveContributor(java.util.Locale locale, java.util.ResourceBundle resBundle)
-
JRXmlSaveContributor
public JRXmlSaveContributor(JasperReportsContext jasperReportsContext, java.util.Locale locale, java.util.ResourceBundle resBundle)
-
-
Method Detail
-
accept
public boolean accept(java.io.File file)
- Specified by:
acceptin classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter
-
save
public void save(JasperPrint jasperPrint, java.io.File file) throws JRException
- Specified by:
savein classJRSaveContributor- Throws:
JRException
-
-