public final class PlainTextReportUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
createPlainText(MasterReport report,
OutputStream outputStream) |
static void |
createPlainText(MasterReport report,
OutputStream outputStream,
float charsPerInch,
float linesPerInch) |
static void |
createPlainText(MasterReport report,
OutputStream outputStream,
float charsPerInch,
float linesPerInch,
String encoding) |
static void |
createPlainText(MasterReport report,
String filename) |
static void |
createPlainText(MasterReport report,
String filename,
float charsPerInch,
float linesPerInch)
Saves a report to plain text format.
|
static void |
createTextFile(MasterReport report,
String filename) |
static void |
createTextFile(MasterReport report,
String filename,
float charsPerInch,
float linesPerInch)
Saves a report to plain text format.
|
static byte[] |
getInitSequence(org.pentaho.reporting.libraries.base.config.Configuration report) |
public static void createTextFile(MasterReport report, String filename, float charsPerInch, float linesPerInch) throws IOException, ReportProcessingException
report
- the report.filename
- target file name.charsPerInch
- chars per inch for the output.linesPerInch
- lines per inch for the output.ReportProcessingException
- if the report processing failed.IOException
- if there was an IOerror while processing the report.public static void createTextFile(MasterReport report, String filename) throws IOException, ReportProcessingException
IOException
ReportProcessingException
public static void createPlainText(MasterReport report, String filename) throws IOException, ReportProcessingException
IOException
ReportProcessingException
public static void createPlainText(MasterReport report, String filename, float charsPerInch, float linesPerInch) throws IOException, ReportProcessingException
report
- the report.filename
- target file name.charsPerInch
- chars per inch for the output.linesPerInch
- lines per inch for the output.ReportProcessingException
- if the report processing failed.IOException
- if there was an IOerror while processing the report.public static void createPlainText(MasterReport report, OutputStream outputStream) throws ReportProcessingException
ReportProcessingException
public static void createPlainText(MasterReport report, OutputStream outputStream, float charsPerInch, float linesPerInch) throws ReportProcessingException
ReportProcessingException
public static void createPlainText(MasterReport report, OutputStream outputStream, float charsPerInch, float linesPerInch, String encoding) throws ReportProcessingException
ReportProcessingException
public static byte[] getInitSequence(org.pentaho.reporting.libraries.base.config.Configuration report) throws UnsupportedEncodingException
UnsupportedEncodingException