Page Speed Optimization Libraries
1.13.35.1
|
Writer implementation for directing HTML output to a string. More...
#include "string_writer.h"
Public Member Functions | |
StringWriter (GoogleString *str) | |
virtual bool | Write (const StringPiece &str, MessageHandler *message_handler) |
virtual bool | Flush (MessageHandler *message_handler) |
virtual bool | Dump (Writer *writer, MessageHandler *message_handler) |
Writer implementation for directing HTML output to a string.
|
virtual |
Dumps the contents of what's been written to the Writer. Many Writer implementations will not be able to do this, and the default implementation will return false. But StringWriter and SharedCircularBuffer can dump their contents, and override this with implementations that return true.
Reimplemented from net_instaweb::Writer.