Package com.googlecode.htmlcompressor.analyzer

## Class HtmlAnalyzer

- java.lang.Object
- - com.googlecode.htmlcompressor.analyzer.HtmlAnalyzer

-     public class HtmlAnalyzer
      extends Object

  Class that compresses provided source with different compression settings and displays page size gains in a report.
  Author:
    Sergiy Kovalchuk

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `HtmlAnalyzer()` | Instantiates a new html analyzer.
    `HtmlAnalyzer​(String jsCompressor)` | Instantiates a new html analyzer.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `analyze​(String source)` | Analyze.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HtmlAnalyzer

          public HtmlAnalyzer()

      Instantiates a new html analyzer.

    - #### HtmlAnalyzer

          public HtmlAnalyzer​(String jsCompressor)

      Instantiates a new html analyzer.
      Parameters:
        `jsCompressor` - the js compressor

  - ### Method Detail

    - #### analyze

          public void analyze​(String source)

      Analyze.
      Parameters:
        `source` - the source