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