Class WriterService
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.table.html.helper.WriterService
-
public class WriterService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
XHTML_NAMESPACE
-
Constructor Summary
Constructors Constructor Description WriterService(BufferedWriter bufferedWriter, org.pentaho.reporting.libraries.base.util.MemoryStringWriter bufferWriter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static WriterService
createBufferedService(OutputStream out, String encoding)
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter
createHeaderXmlWriter()
static WriterService
createPassThroughService(OutputStream out, String encoding)
org.pentaho.reporting.libraries.base.util.MemoryStringWriter
getBufferWriter()
org.pentaho.reporting.libraries.xmlns.writer.XmlWriter
getXmlWriter()
boolean
isBuffered()
-
-
-
Field Detail
-
XHTML_NAMESPACE
public static final String XHTML_NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WriterService
public WriterService(BufferedWriter bufferedWriter, org.pentaho.reporting.libraries.base.util.MemoryStringWriter bufferWriter)
-
-
Method Detail
-
getXmlWriter
public org.pentaho.reporting.libraries.xmlns.writer.XmlWriter getXmlWriter()
-
getBufferWriter
public org.pentaho.reporting.libraries.base.util.MemoryStringWriter getBufferWriter()
-
createHeaderXmlWriter
public org.pentaho.reporting.libraries.xmlns.writer.XmlWriter createHeaderXmlWriter()
-
isBuffered
public boolean isBuffered()
-
createPassThroughService
public static WriterService createPassThroughService(OutputStream out, String encoding) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
createBufferedService
public static WriterService createBufferedService(OutputStream out, String encoding) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
close
public void close() throws IOException
- Throws:
IOException
-
-