congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SimpleExporterInput.getInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
getInstance
method
in
net.sf.jasperreports.export.SimpleExporterInput

Best Java code snippets using net.sf.jasperreports.export.SimpleExporterInput.getInstance (Showing top 2 results out of 315)

origin: wpivotto/vraptor-jasperreport

ExporterInput exporterInput = SimpleExporterInput.getInstance(printList);
exporter.setExporterInput(exporterInput);
origin: dynamicreports/dynamicreports

  /**
   * <p>export.</p>
   *
   * @param exporterBuilder a {@link net.sf.dynamicreports.jasper.builder.export.AbstractJasperExporterBuilder} object.
   * @return a {@link net.sf.dynamicreports.jasper.builder.JasperConcatenatedReportBuilder} object.
   * @throws net.sf.dynamicreports.report.exception.DRException if any.
   */
  public JasperConcatenatedReportBuilder export(AbstractJasperExporterBuilder<?, ? extends AbstractJasperExporter> exporterBuilder) throws DRException {
    Validate.notNull(exporterBuilder, "exporterBuilder must not be null");
    try {
      ExporterTransform exporterTransform = new ExporterTransform(exporterBuilder.build());
      @SuppressWarnings("unchecked") Exporter<ExporterInput, ?, ?, ?> exporter = (Exporter<ExporterInput, ?, ?, ?>) exporterTransform.transform();
      exporter.setExporterInput(SimpleExporterInput.getInstance(jasperReportHandler.getPrintList()));
      exporter.exportReport();
    } catch (JRException e) {
      throw new DRException(e);
    }
    return this;
  }
}
net.sf.jasperreports.exportSimpleExporterInputgetInstance

Popular methods of SimpleExporterInput

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Option (scala)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now