public class ASBatchExporterOutputImpl extends net.sf.jasperreports.export.SimpleOutputStreamExporterOutput implements ASBatchExporterOutput
| Constructor and Description |
|---|
ASBatchExporterOutputImpl(File zipFile)
Creates a
ASBatchExporterOutputImpl instance that puts the zip archive output into the provided java.io.File object. |
ASBatchExporterOutputImpl(File zipFile,
String batchImageExportPrefix)
Creates a
ASBatchExporterOutputImpl instance that puts the zip archive output into the provided java.io.File object. |
ASBatchExporterOutputImpl(OutputStream outputStream)
Creates a
ASBatchExporterOutputImpl instance that puts the zip archive output into provided java.io.OutputStream object. |
ASBatchExporterOutputImpl(OutputStream outputStream,
String batchImageExportPrefix)
Creates a
ASBatchExporterOutputImpl instance that puts the zip archive output into provided java.io.OutputStream object. |
ASBatchExporterOutputImpl(String batchExportPath)
Creates a
ASBatchExporterOutputImpl instance that puts batch files into the directory designated by the provided file name. |
ASBatchExporterOutputImpl(String batchExportPath,
String batchImageExportPrefix)
Creates a
ASBatchExporterOutputImpl instance that puts batch files into the directory designated by the provided file name. |
| Modifier and Type | Method and Description |
|---|---|
String |
getBatchExportPath()
Gets the batch export path.
|
String |
getBatchImageExportPrefix()
Gets the prefix of the exported batch files
|
boolean |
isZipArchive()
Indicates whether the export output will be put in zip archive
|
void |
setBatchExportPath(String batchExportPath)
Sets batch export path.
|
void |
setBatchImageExportPrefix(String batchPrefix)
Sets batch image export prefix.
|
public ASBatchExporterOutputImpl(OutputStream outputStream)
ASBatchExporterOutputImpl instance that puts the zip archive output into provided java.io.OutputStream object.
This is useful for sending the export result to an output stream, such as a ServletOutputStream.public ASBatchExporterOutputImpl(OutputStream outputStream, String batchImageExportPrefix)
ASBatchExporterOutputImpl instance that puts the zip archive output into provided java.io.OutputStream object.
This is useful for sending the export result to an output stream, such as a ServletOutputStream.public ASBatchExporterOutputImpl(File zipFile)
ASBatchExporterOutputImpl instance that puts the zip archive output into the provided java.io.File object.
This is useful when exporting to a file and the File instance is already there.public ASBatchExporterOutputImpl(File zipFile, String batchImageExportPrefix)
ASBatchExporterOutputImpl instance that puts the zip archive output into the provided java.io.File object.
This is useful when exporting to a file and the File instance is already there.public ASBatchExporterOutputImpl(String batchExportPath)
ASBatchExporterOutputImpl instance that puts batch files into the directory designated by the provided file name.batchExportPath - the batch export pathpublic ASBatchExporterOutputImpl(String batchExportPath, String batchImageExportPrefix)
ASBatchExporterOutputImpl instance that puts batch files into the directory designated by the provided file name.batchExportPath - the batch export pathbatchImageExportPrefix - the prefix of the exported batch files.public String getBatchExportPath()
Gets the batch export path.
getBatchExportPath in interface ASBatchExporterOutputpublic void setBatchExportPath(String batchExportPath)
batchExportPath - the batch export pathcom.aspose.ms.System.IO.IOException - if the directory doesn't existpublic String getBatchImageExportPrefix()
Gets the prefix of the exported batch files
Value:true if multipage export; otherwise, false.getBatchImageExportPrefix in interface ASBatchExporterOutputpublic void setBatchImageExportPrefix(String batchPrefix)
batchPrefix - the batch image export prefixpublic boolean isZipArchive()
ASBatchExporterOutputisZipArchive in interface ASBatchExporterOutputtrue if output will be as zip archive, otherwise false