com.stimulsoft.report.export.service
Class StiTxtExportService

java.lang.Object
  extended by com.stimulsoft.report.export.service.StiExportService
      extended by com.stimulsoft.report.export.service.StiTxtExportService

public class StiTxtExportService
extends StiExportService

Class represent export to TXT format. Copyright Stimulsoft


Field Summary
 
Fields inherited from class com.stimulsoft.report.export.service.StiExportService
currentPassNumber, DATE_1900, maximumPassNumber, MILLISECONDS_IN_DAY, ONE_HOUR
 
Constructor Summary
StiTxtExportService()
           
 
Method Summary
 void export(StiReport report, java.io.OutputStream outputStream, StiExportSettings exportSettings)
          Export StiReport
 void exportTxt(StiReport report, java.io.OutputStream outputStream, StiTxtExportSettings settings)
          Exports a rendered report to the stream in the text file.
 StiExportFormat getExportFormat()
          Returs service export format
 boolean getMultipleFiles()
          Gets a value indicating a number of files in exported document as a result of export
 
Methods inherited from class com.stimulsoft.report.export.service.StiExportService
export, export, export, export, getExFile, getExportedFiles, getExportSettings, getStatusString, invokeExporting, invokeExporting, invokeExporting, isStoped, setExFile, setExportReport, setExportSettings, setOutputStream, setProgress, setStatusString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiTxtExportService

public StiTxtExportService()
Method Detail

export

public void export(StiReport report,
                   java.io.OutputStream outputStream,
                   StiExportSettings exportSettings)
            throws StiException
Export StiReport

Specified by:
export in class StiExportService
Parameters:
report - StiReport to export
outputStream - OutputStream for export
exportSettings - StiExportSettings
Throws:
StiException

exportTxt

public void exportTxt(StiReport report,
                      java.io.OutputStream outputStream,
                      StiTxtExportSettings settings)
               throws StiException
Exports a rendered report to the stream in the text file.

Parameters:
report - A StiReport which is to be exported.
outputStream - OutputStream for exporting.
exportSettings - StiTxtExportSettings
Throws:
java.io.IOException
StiException

getExportFormat

public StiExportFormat getExportFormat()
Returs service export format

Specified by:
getExportFormat in class StiExportService
Returns:
StiExportFormat

getMultipleFiles

public boolean getMultipleFiles()
Gets a value indicating a number of files in exported document as a result of export

Specified by:
getMultipleFiles in class StiExportService
Returns:
Support multiple files