Class StiTxtExportService
java.lang.Object
com.stimulsoft.report.export.service.StiExportService
com.stimulsoft.report.export.service.StiTxtExportService
Class represent export to TXT format.
Copyright Stimulsoft
-
Field Summary
Fields inherited from class com.stimulsoft.report.export.service.StiExportService
currentPassNumber, DATE_1900, exFile, exportedFiles, exportReport, exportSettings, maximumPassNumber, MILLISECONDS_IN_DAY, multipleFiles, ONE_HOUR, outputStream, RenderedPagesCount, statusString -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(StiReport report, OutputStream outputStream, StiExportSettings exportSettings) ExportStiReportvoidexportTxt(StiReport report, OutputStream outputStream, StiTxtExportSettings settings) Exports a rendered report to the stream in the text file.Returs service export formatbooleanGets a value indicating a number of files in exported document as a result of exportMethods inherited from class com.stimulsoft.report.export.service.StiExportService
closeProgress, export, export, export, export, getExFile, getExportedFiles, getExportSettings, getStatusString, invokeExporting, invokeExporting, invokeExporting, isStoped, processFile, sendEMail, sendEMail, setExFile, setExportReport, setExportSettings, setOutputStream, setProgress, setStatusString
-
Constructor Details
-
StiTxtExportService
public StiTxtExportService()
-
-
Method Details
-
export
public void export(StiReport report, OutputStream outputStream, StiExportSettings exportSettings) throws StiException ExportStiReport- Specified by:
exportin classStiExportService- Parameters:
report-StiReportto exportoutputStream-OutputStreamfor exportexportSettings-StiExportSettings- Throws:
StiException
-
exportTxt
public void exportTxt(StiReport report, OutputStream outputStream, StiTxtExportSettings settings) throws StiException Exports a rendered report to the stream in the text file.- Parameters:
report- AStiReportwhich is to be exported.outputStream-OutputStreamfor exporting.exportSettings-StiTxtExportSettings- Throws:
IOExceptionStiException
-
getExportFormat
Returs service export format- Specified by:
getExportFormatin classStiExportService- Returns:
StiExportFormat
-
getMultipleFiles
public boolean getMultipleFiles()Gets a value indicating a number of files in exported document as a result of export- Specified by:
getMultipleFilesin classStiExportService- Returns:
- Support multiple files
-