ASExporterOutputImpl

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

All Implemented Interfaces: ASExporterOutput

Export output configuration.

Constructors

ConstructorDescription
ASExporterOutputImpl(OutputStream outputStream)Instantiates a new instance of ASExporterOutputImpl .
ASExporterOutputImpl(File file)Instantiates a new instance of ASExporterOutputImpl .
ASExporterOutputImpl(String fileName)Instantiates a new As exporter output.

Methods

MethodDescription
isMultipageExport()Gets a value indicating whether file should be exported in multipage format. Value: true if multipage export; otherwise, false .
setMultipageExport(boolean multipageExport)Sets multipage export indicator. For pdf format the default value is true and false for other.

ASExporterOutputImpl(OutputStream outputStream)

public ASExporterOutputImpl(OutputStream outputStream)

Instantiates a new instance of ASExporterOutputImpl .

Parameters:

ParameterTypeDescription
outputStreamOutputStreamthe output stream

ASExporterOutputImpl(File file)

public ASExporterOutputImpl(File file)

Instantiates a new instance of ASExporterOutputImpl .

Parameters:

ParameterTypeDescription
fileFilethe file

ASExporterOutputImpl(String fileName)

public ASExporterOutputImpl(String fileName)

Instantiates a new As exporter output.

Parameters:

ParameterTypeDescription
fileNameStringthe file name

isMultipageExport()

public boolean isMultipageExport()

Gets a value indicating whether file should be exported in multipage format. Value: true if multipage export; otherwise, false .

Returns: boolean

setMultipageExport(boolean multipageExport)

public void setMultipageExport(boolean multipageExport)

Sets multipage export indicator. For pdf format the default value is true and false for other.

Parameters:

ParameterTypeDescription
multipageExportbooleanthe multipage export