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

  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 Details

  - ### HtmlAnalyzer

    public HtmlAnalyzer()
    Instantiates a new html analyzer.

  - ### HtmlAnalyzer

    public HtmlAnalyzer(String jsCompressor)
    Instantiates a new html analyzer.
    Parameters:
      `jsCompressor` - the js compressor

- ## Method Details

  - ### analyze

    public void analyze(String source)
    Analyze.
    Parameters:
      `source` - the source