# Uses of Interface
com.googlecode.htmlcompressor.compressor.Compressor

Packages that use Compressor
Package
Description
com.googlecode.htmlcompressor.compressor
Compressor Package.

- ## Uses of Compressor in com.googlecode.htmlcompressor.compressor

  Classes in com.googlecode.htmlcompressor.compressor that implement Compressor
  Modifier and Type
  Class
  Description
  `class`
  `ClosureJavaScriptCompressor`
  Basic JavaScript compressor implementation using Google Closure Compiler that could be used by `HtmlCompressor` for inline JavaScript compression.
  `class`
  `HtmlCompressor`
  Class that compresses given HTML source by removing comments, extra spaces and lin<pre> while preserving content within <pre>, <textarea>, <script> and <style> tags.
  `class`
  `XmlCompressor`
  Class that compresses given XML source by removing comments, extra spaces and line breaks while preserving content within CDATA blocks.
  `class`
  `YuiCssCompressor`
  Basic CSS compressor implementation using Yahoo YUI Compressor that could be used by `HtmlCompressor` for inline CSS compression.
  `class`
  `YuiJavaScriptCompressor`
  Basic JavaScript compressor implementation using Yahoo YUI Compressor that could be used by `HtmlCompressor` for inline JavaScript compression.
  Methods in com.googlecode.htmlcompressor.compressor that return Compressor
  Modifier and Type
  Method
  Description
  `Compressor`
  HtmlCompressor.`getCssCompressor()`
  Returns CSS compressor implementation that will be used to compress inline CSS in HTML.
  `Compressor`
  HtmlCompressor.`getJavaScriptCompressor()`
  Returns JavaScript compressor implementation that will be used to compress inline JavaScript in HTML.
  Methods in com.googlecode.htmlcompressor.compressor with parameters of type Compressor
  Modifier and Type
  Method
  Description
  `void`
  HtmlCompressor.`setCssCompressor(Compressor cssCompressor)`
  Sets CSS compressor implementation that will be used to compress inline CSS in HTML.
  `void`
  HtmlCompressor.`setJavaScriptCompressor(Compressor javaScriptCompressor)`
  Sets JavaScript compressor implementation that will be used to compress inline JavaScript in HTML.