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.
-
-
-
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
-
-