ASExportInputImpl

Inheritance: java.lang.Object, net.sf.jasperreports.export.SimpleExporterInput

All Implemented Interfaces: ASExportInput

The type As export input.

Constructors

ConstructorDescription
ASExportInputImpl(net.sf.jasperreports.engine.JasperPrint jasperPrint)Creates an ExporterInput object with a single item wrapping the JasperPrint object that will be exported. If you already have a JasperPrint object, you can pass it to the exporter using this type of input.
ASExportInputImpl(InputStream inputStream)Creates an ExporterInput object with a single JasperPrint item read from the provided input stream. If you want to read the JasperPrint object from an input stream (like a web location), you can pass the stream to this constructor.
ASExportInputImpl(URL url)Creates an ExporterInput object with a single JasperPrint item read from the provided URL. If the JasperPrint object is available as a web resource, you can use this constructor, instead of opening a HTTP connection and read from the input stream.
ASExportInputImpl(File file)Creates an ExporterInput object with a single JasperPrint item read from the provided java.io.File . This is useful if the JasperPrint object is representing a file on disk.
ASExportInputImpl(String fileName)Creates an ExporterInput object with a single JasperPrint item read from the provided file. This is useful if the JasperPrint object is representing a file on disk.
ASExportInputImpl(List<net.sf.jasperreports.export.ExporterInputItem> items)Creates an ExporterInput object with the provided export items.

ASExportInputImpl(net.sf.jasperreports.engine.JasperPrint jasperPrint)

public ASExportInputImpl(net.sf.jasperreports.engine.JasperPrint jasperPrint)

Creates an ExporterInput object with a single item wrapping the JasperPrint object that will be exported. If you already have a JasperPrint object, you can pass it to the exporter using this type of input.

ASExportInputImpl(InputStream inputStream)

public ASExportInputImpl(InputStream inputStream)

Creates an ExporterInput object with a single JasperPrint item read from the provided input stream. If you want to read the JasperPrint object from an input stream (like a web location), you can pass the stream to this constructor.

ASExportInputImpl(URL url)

public ASExportInputImpl(URL url)

Creates an ExporterInput object with a single JasperPrint item read from the provided URL. If the JasperPrint object is available as a web resource, you can use this constructor, instead of opening a HTTP connection and read from the input stream.

ASExportInputImpl(File file)

public ASExportInputImpl(File file)

Creates an ExporterInput object with a single JasperPrint item read from the provided java.io.File . This is useful if the JasperPrint object is representing a file on disk.

ASExportInputImpl(String fileName)

public ASExportInputImpl(String fileName)

Creates an ExporterInput object with a single JasperPrint item read from the provided file. This is useful if the JasperPrint object is representing a file on disk.

ASExportInputImpl(List<net.sf.jasperreports.export.ExporterInputItem> items)

public ASExportInputImpl(List<net.sf.jasperreports.export.ExporterInputItem> items)

Creates an ExporterInput object with the provided export items.