net_instaweb::FileRewriter Class Reference

#include "static_rewriter.h"

Inheritance diagram for net_instaweb::FileRewriter:
net_instaweb::RewriteDriverFactory

List of all members.

Public Member Functions

 FileRewriter (const net_instaweb::RewriteGflags *gflags, bool echo_errors_to_stdout)
virtual net_instaweb::HasherNewHasher ()
virtual net_instaweb::UrlFetcherDefaultUrlFetcher ()
virtual
net_instaweb::UrlAsyncFetcher
DefaultAsyncUrlFetcher ()
virtual
net_instaweb::MessageHandler
DefaultHtmlParseMessageHandler ()
virtual
net_instaweb::MessageHandler
DefaultMessageHandler ()
virtual net_instaweb::FileSystemDefaultFileSystem ()
virtual net_instaweb::TimerDefaultTimer ()
virtual
net_instaweb::CacheInterface
DefaultCacheInterface ()
 Note: Returned CacheInterface should be thread-safe.
virtual net_instaweb::Statisticsstatistics ()

Detailed Description

Implements a baseline RewriteDriverFactory with the simplest possible options for cache, fetchers, & system interface.

Todo:
TODO(jmarantz): fill out enough functionality so that this will be a functional static rewriter that could optimize an HTML file passed as a command-line parameter or via stdin.

Member Function Documentation

virtual net_instaweb::UrlFetcher* net_instaweb::FileRewriter::DefaultUrlFetcher (  )  [virtual]

Implementors of RewriteDriverFactory must supply default definitions for each of these methods, although they may be overridden via set_ methods above.

Implements net_instaweb::RewriteDriverFactory.

virtual net_instaweb::Statistics* net_instaweb::FileRewriter::statistics (  )  [virtual]

statistics (default is NullStatistics). This can be overridden by calling SetStatistics, either from subclasses or externally.

Reimplemented from net_instaweb::RewriteDriverFactory.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:33:47 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3