|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.PlainTextReportUtil
public final class PlainTextReportUtil
An utility class to write an report into a plain text file. If you need more control over the writing process, you will have to implement your own write method.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |